<?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>Comments on: 万能清除浮动样式</title>
	<atom:link href="http://www.qianduan.net/universal-to-remove-floating-style.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.qianduan.net/universal-to-remove-floating-style.html</link>
	<description>专注于网站前端设计与前端开发</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: dws0706</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-179255</link>
		<dc:creator>dws0706</dc:creator>
		<pubDate>Mon, 26 Dec 2011 01:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-179255</guid>
		<description>ie6.0好像不支持，有没有能支持ie6.0的啊？</description>
		<content:encoded><![CDATA[<p>ie6.0好像不支持，有没有能支持ie6.0的啊？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小葱</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-134568</link>
		<dc:creator>小葱</dc:creator>
		<pubDate>Wed, 28 Sep 2011 14:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-134568</guid>
		<description>感谢！无敌的清除浮动的样式</description>
		<content:encoded><![CDATA[<p>感谢！无敌的清除浮动的样式</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小翼</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-131007</link>
		<dc:creator>小翼</dc:creator>
		<pubDate>Sun, 18 Sep 2011 05:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-131007</guid>
		<description>无意中发现你的问题，这个根本就是因为margin相互叠加，再加上用了浮动所产生的问题，只要把样式改一下就行了。。代码如下：





无标题文档

*{
  margin: 0px;
padding: 0px;
}
#div1{
width: 290px;
background-color: yellow;
padding: 5px;
overflow:hidden;
zoom:1;
}
.div2{
float: left;
width: 150px;
background-color: blue;
height: 60px;
margin-top: 5px;
overflow:hidden;
}

 




   div 2 float: left
   div 2 float: left
   div 2 float: left IE底边边界不能解析




IE6就和所有的浏览器相同了</description>
		<content:encoded><![CDATA[<p>无意中发现你的问题，这个根本就是因为margin相互叠加，再加上用了浮动所产生的问题，只要把样式改一下就行了。。代码如下：</p>
<p>无标题文档</p>
<p>*{<br />
  margin: 0px;<br />
padding: 0px;<br />
}<br />
#div1{<br />
width: 290px;<br />
background-color: yellow;<br />
padding: 5px;<br />
overflow:hidden;<br />
zoom:1;<br />
}<br />
.div2{<br />
float: left;<br />
width: 150px;<br />
background-color: blue;<br />
height: 60px;<br />
margin-top: 5px;<br />
overflow:hidden;<br />
}</p>
<p>   div 2 float: left<br />
   div 2 float: left<br />
   div 2 float: left IE底边边界不能解析</p>
<p>IE6就和所有的浏览器相同了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vimest</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-18983</link>
		<dc:creator>vimest</dc:creator>
		<pubDate>Fri, 04 Mar 2011 12:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-18983</guid>
		<description>自己是在父元素上面 overflow:auto;zoom:1; 前者解决除IE外的浏览器，后者帽触发了ie的haslayout，让元素能“知道”里面有元素从而包围起来。但在实际中，这样做，在某些情况下父元素有可能会出现滚动条。具体情况不得而知，但用来做demo还是不错的。</description>
		<content:encoded><![CDATA[<p>自己是在父元素上面 overflow:auto;zoom:1; 前者解决除IE外的浏览器，后者帽触发了ie的haslayout，让元素能“知道”里面有元素从而包围起来。但在实际中，这样做，在某些情况下父元素有可能会出现滚动条。具体情况不得而知，但用来做demo还是不错的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 若若</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-3937</link>
		<dc:creator>若若</dc:creator>
		<pubDate>Wed, 21 Oct 2009 02:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-3937</guid>
		<description>恩,感谢博主,博客很实用,收藏了</description>
		<content:encoded><![CDATA[<p>恩,感谢博主,博客很实用,收藏了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-3825</link>
		<dc:creator>George</dc:creator>
		<pubDate>Tue, 06 Oct 2009 14:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-3825</guid>
		<description>谢谢你的回答。</description>
		<content:encoded><![CDATA[<p>谢谢你的回答。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 神采飞扬</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-3813</link>
		<dc:creator>神采飞扬</dc:creator>
		<pubDate>Thu, 01 Oct 2009 00:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-3813</guid>
		<description>简单的看了一下你说的那种情况，如果里面的div2不使用浮动，IE6是可以认出边界的，但是既然div2使用了浮动，那就需要使用清除浮动的方法，不使用hack和额外的html，难～～</description>
		<content:encoded><![CDATA[<p>简单的看了一下你说的那种情况，如果里面的div2不使用浮动，IE6是可以认出边界的，但是既然div2使用了浮动，那就需要使用清除浮动的方法，不使用hack和额外的html，难～～</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-3812</link>
		<dc:creator>George</dc:creator>
		<pubDate>Wed, 30 Sep 2009 23:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-3812</guid>
		<description>无意中发现博主博客,很受用.
谢谢你的辛勤劳动
此前我在csdn上发过一帖.希望博主能看看是否有解决方案. 关于浮动闭合.在不使用HACK和添加html 无意空元素为前提.解决IE不支持子元素底边界值.
地址是http://topic.csdn.net/u/20090928/16/64b7247c-3fe0-4d7f-9284-ee01f73840f6.html?53069</description>
		<content:encoded><![CDATA[<p>无意中发现博主博客,很受用.<br />
谢谢你的辛勤劳动<br />
此前我在csdn上发过一帖.希望博主能看看是否有解决方案. 关于浮动闭合.在不使用HACK和添加html 无意空元素为前提.解决IE不支持子元素底边界值.<br />
地址是http://topic.csdn.net/u/20090928/16/64b7247c-3fe0-4d7f-9284-ee01f73840f6.html?53069</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 网友</title>
		<link>http://www.qianduan.net/universal-to-remove-floating-style.html/comment-page-1#comment-3338</link>
		<dc:creator>网友</dc:creator>
		<pubDate>Mon, 07 Sep 2009 07:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.qianduan.net/?p=5#comment-3338</guid>
		<description>好强大</description>
		<content:encoded><![CDATA[<p>好强大</p>
]]></content:encoded>
	</item>
</channel>
</rss>

