<?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>《【IE6的疯狂之十】父级使用padding后子元素绝对定位的BUG（2010年3月30日更新）》的评论</title>
	<atom:link href="http://www.css88.com/archives/1584/feed" rel="self" type="application/rss+xml" />
	<link>http://www.css88.com/archives/1584</link>
	<description>专注前端开发，关注用户体验</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:58:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>作者：maml</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-44315</link>
		<dc:creator>maml</dc:creator>
		<pubDate>Tue, 01 Nov 2011 00:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-44315</guid>
		<description>我这ie6  怎么没有发现这个问题呢


test box
</description>
		<content:encoded><![CDATA[<p>我这ie6  怎么没有发现这个问题呢</p>
<p>test box</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：xiaoxia</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-43878</link>
		<dc:creator>xiaoxia</dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-43878</guid>
		<description>我想我们通过IE浏览器的原有设计思想出发会觉得问题很简单，如果可能我们可以一起从这里讨论，就拿拥有布局来说，拥有布局的做法就是不给所有元素以布局的能力，有效的减少的浏览器性能的开销，难道这不是对的吗，呵呵，但IE有违的标准……</description>
		<content:encoded><![CDATA[<p>我想我们通过IE浏览器的原有设计思想出发会觉得问题很简单，如果可能我们可以一起从这里讨论，就拿拥有布局来说，拥有布局的做法就是不给所有元素以布局的能力，有效的减少的浏览器性能的开销，难道这不是对的吗，呵呵，但IE有违的标准……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：xiaoxia</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-43877</link>
		<dc:creator>xiaoxia</dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-43877</guid>
		<description>我说的资料是</description>
		<content:encoded><![CDATA[<p>我说的资料是</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：xiaoxia</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-43876</link>
		<dc:creator>xiaoxia</dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-43876</guid>
		<description>如果说一定要为这些奇怪的现象争论不休的话，请查证一些官方资料，其它中有一章节：IE浏览器的拥有布局正好说明了以上问题（其中布局只能是IE中的概念！！！）是这样定义的：那些称为拥有布局(have layout)的元素负责本身及其子元素的尺寸和定位。如果一个元素没有拥有布局，那么它的尺寸和定位由最近的拥有布局的祖先元素控制。而在IE中有些元素天生就有拥有布局的性质，而有的天生的属性便可以使用元素具有拥有布局，我们在处理bug时常见有这个东东*html{height:1%}想知道为什么吗？---&gt;拥有布局</description>
		<content:encoded><![CDATA[<p>如果说一定要为这些奇怪的现象争论不休的话，请查证一些官方资料，其它中有一章节：IE浏览器的拥有布局正好说明了以上问题（其中布局只能是IE中的概念！！！）是这样定义的：那些称为拥有布局(have layout)的元素负责本身及其子元素的尺寸和定位。如果一个元素没有拥有布局，那么它的尺寸和定位由最近的拥有布局的祖先元素控制。而在IE中有些元素天生就有拥有布局的性质，而有的天生的属性便可以使用元素具有拥有布局，我们在处理bug时常见有这个东东*html{height:1%}想知道为什么吗？&#8212;&gt;拥有布局</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：semdy</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-41459</link>
		<dc:creator>semdy</dc:creator>
		<pubDate>Tue, 13 Sep 2011 05:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-41459</guid>
		<description>我觉得这个问题楼主研究偏了，问题不是出在父层标签的padding上，而是出在父层标签宽度上，如果父标签里面的内容都是左浮动或右浮动的话，它的宽度会有所偏移，如果把它的宽度固定一个值或加上100%应该就会好了。我以前也出现过这个问题。
以下代码是全兼容的，没有出现你所说的问题。

*{ margin:0; padding:0; font-size:12px;}
.box{ height:200px; border:1px solid green; padding-left:100px; margin:100px 0 0 100px; position:relative;}
.sub{ position:absolute; left:2px; top:2px; width:200px; height:100px; border:1px solid red;}


 12313
</description>
		<content:encoded><![CDATA[<p>我觉得这个问题楼主研究偏了，问题不是出在父层标签的padding上，而是出在父层标签宽度上，如果父标签里面的内容都是左浮动或右浮动的话，它的宽度会有所偏移，如果把它的宽度固定一个值或加上100%应该就会好了。我以前也出现过这个问题。<br />
以下代码是全兼容的，没有出现你所说的问题。</p>
<p>*{ margin:0; padding:0; font-size:12px;}<br />
.box{ height:200px; border:1px solid green; padding-left:100px; margin:100px 0 0 100px; position:relative;}<br />
.sub{ position:absolute; left:2px; top:2px; width:200px; height:100px; border:1px solid red;}</p>
<p> 12313</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：【IE6的疯狂系列】IE6 BUG大全[转]&#124;脑袋博客</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-41215</link>
		<dc:creator>【IE6的疯狂系列】IE6 BUG大全[转]&#124;脑袋博客</dc:creator>
		<pubDate>Thu, 08 Sep 2011 09:21:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-41215</guid>
		<description>[...] 【IE6的疯狂之十】父级使用padding后，子元素绝对定位的BUGhttp://www.css88.com/archives/1584 [...]</description>
		<content:encoded><![CDATA[<p>[...] 【IE6的疯狂之十】父级使用padding后，子元素绝对定位的BUGhttp://www.css88.com/archives/1584 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：highmind</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-36687</link>
		<dc:creator>highmind</dc:creator>
		<pubDate>Fri, 20 May 2011 06:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-36687</guid>
		<description>个人认为ie5.5的盒子模型确实和别的不一样，ie6貌似是没问题</description>
		<content:encoded><![CDATA[<p>个人认为ie5.5的盒子模型确实和别的不一样，ie6貌似是没问题</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：highmind</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-36686</link>
		<dc:creator>highmind</dc:creator>
		<pubDate>Fri, 20 May 2011 06:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-36686</guid>
		<description>博主请看这篇文章：http://hi.baidu.com/wnpers/blog/item/f1a5edb4cf5bb8638ad4b2c3.html
关于ie6的盒子模型和w3c标准的盒子模型的区别</description>
		<content:encoded><![CDATA[<p>博主请看这篇文章：http://hi.baidu.com/wnpers/blog/item/f1a5edb4cf5bb8638ad4b2c3.html<br />
关于ie6的盒子模型和w3c标准的盒子模型的区别</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：highmind</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-36685</link>
		<dc:creator>highmind</dc:creator>
		<pubDate>Fri, 20 May 2011 06:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-36685</guid>
		<description>ie6的盒子模型貌似和其他的不一样，它的width和height貌似有border的值，请博主指教</description>
		<content:encoded><![CDATA[<p>ie6的盒子模型貌似和其他的不一样，它的width和height貌似有border的值，请博主指教</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：ie6 系列bug - web前端开发</title>
		<link>http://www.css88.com/archives/1584/comment-page-1#comment-35932</link>
		<dc:creator>ie6 系列bug - web前端开发</dc:creator>
		<pubDate>Mon, 02 May 2011 11:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.css88.com/?p=1584#comment-35932</guid>
		<description>[...] 【IE6的疯狂之十】父级使用padding后，子元素绝对定位的BUGhttp://www.css88.com/archives/1584 [...]</description>
		<content:encoded><![CDATA[<p>[...] 【IE6的疯狂之十】父级使用padding后，子元素绝对定位的BUGhttp://www.css88.com/archives/1584 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

