<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>刺客 &#187; max-height</title>
	<atom:link href="http://blog.cike.org/tag/max-height/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cike.org</link>
	<description>刘益民中文网</description>
	<lastBuildDate>Mon, 03 May 2010 06:23:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>自己动手min/max-width/height</title>
		<link>http://blog.cike.org/2008/%e8%87%aa%e5%b7%b1%e5%8a%a8%e6%89%8bminmax-widthheight/</link>
		<comments>http://blog.cike.org/2008/%e8%87%aa%e5%b7%b1%e5%8a%a8%e6%89%8bminmax-widthheight/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 00:44:50 +0000</pubDate>
		<dc:creator>cike</dc:creator>
				<category><![CDATA[前端]]></category>
		<category><![CDATA[max-height]]></category>

		<guid isPermaLink="false">http://blog.cike.org/?p=346</guid>
		<description><![CDATA[百度了一下，很多实现方法更像是overflow:hidden，自己动手实现max-height，其他min/max原理一样，仅是clientHeight/clientWidth与预设值的比较过程]]></description>
			<content:encoded><![CDATA[<p>以前没遇到过min/max-width/height的需求，一直没关注过实现细节，偶尔用一次也仅是include一下minmax.js，多一个JS文件，显然不环保，据反应还会偶尔失效！</p>
<p>百度了一下，很多实现方法更像是overflow:hidden，自己动手实现max-height，<a href="http://blog.cike.org/pubassassin/demo/2008/max-height.html" target="_blank">查看DEMO</a>，其他min/max原理一样，仅是clientHeight/clientWidth与预设值的比较过程</p>
<p>兼容IE6&amp;+、 Opera、 FF2/3其他未知</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cike.org/2008/%e8%87%aa%e5%b7%b1%e5%8a%a8%e6%89%8bminmax-widthheight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
