<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>《有关.clearfix的一些事》的评论</title>
	<atom:link href="http://www.zhoumingzhi.com/2010/06/26/about-clearfix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhoumingzhi.com/2010/06/26/about-clearfix/</link>
	<description>这里全是流水账</description>
	<lastBuildDate>Thu, 08 Dec 2011 03:36:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>作者：dawenci</title>
		<link>http://www.zhoumingzhi.com/2010/06/26/about-clearfix/comment-page-1/#comment-102</link>
		<dc:creator>dawenci</dc:creator>
		<pubDate>Thu, 01 Jul 2010 06:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhoumingzhi.com/?p=835#comment-102</guid>
		<description>另外，重构后的clearfix是不合理的(重构前的clearfix是最完美的，那个长长的Demo分析有误)。
display的属性值为table的情况，效果往往不能符合要求，你可以试试，被当作table渲染的盒子，其边框不会自动扩展，而会收缩到仅仅包含住里面的元素，这和IE下的表现不一致。当然，如果这个元素设定了固定宽度，那没问题。另外，渲染为table还会衍生一系列意外问题出来，相当让人抓狂。</description>
		<content:encoded><![CDATA[<p>另外，重构后的clearfix是不合理的(重构前的clearfix是最完美的，那个长长的Demo分析有误)。<br />
display的属性值为table的情况，效果往往不能符合要求，你可以试试，被当作table渲染的盒子，其边框不会自动扩展，而会收缩到仅仅包含住里面的元素，这和IE下的表现不一致。当然，如果这个元素设定了固定宽度，那没问题。另外，渲染为table还会衍生一系列意外问题出来，相当让人抓狂。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：dawenci</title>
		<link>http://www.zhoumingzhi.com/2010/06/26/about-clearfix/comment-page-1/#comment-100</link>
		<dc:creator>dawenci</dc:creator>
		<pubDate>Thu, 01 Jul 2010 06:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhoumingzhi.com/?p=835#comment-100</guid>
		<description>clearfix的原理并非在应用了clearfix的元素后插入一个带清理属性的元素。而是在clearfix内部的所有元素完结后，追加一个清理浮动的元素进去。这点可以通过一个最简单的实验看到效果。嵌套效果应该如下：
&lt;div&gt;
  &lt;div class=&#039;float&#039;&gt;&lt;/div&gt;
  &lt;div style=&#039;clear: both;&#039;&gt;&lt;/div&gt;
&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>clearfix的原理并非在应用了clearfix的元素后插入一个带清理属性的元素。而是在clearfix内部的所有元素完结后，追加一个清理浮动的元素进去。这点可以通过一个最简单的实验看到效果。嵌套效果应该如下：<br />
&lt;div&gt;<br />
  &lt;div class=&#8217;float&#8217;&gt;&lt;/div&gt;<br />
  &lt;div style=&#8217;clear: both;&#8217;&gt;&lt;/div&gt;<br />
&lt;/div&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：行者</title>
		<link>http://www.zhoumingzhi.com/2010/06/26/about-clearfix/comment-page-1/#comment-99</link>
		<dc:creator>行者</dc:creator>
		<pubDate>Mon, 28 Jun 2010 05:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhoumingzhi.com/?p=835#comment-99</guid>
		<description>分析的很透彻，以前只是用，没有过多思考细节。
学习了。</description>
		<content:encoded><![CDATA[<p>分析的很透彻，以前只是用，没有过多思考细节。<br />
学习了。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

