<?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>评论：由浅入深漫谈margin属性</title>
	<atom:link href="http://www.planabc.net/2007/03/18/css_attribute_margin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.planabc.net/2007/03/18/css_attribute_margin/</link>
	<description>落草为根—专注前端技术&#38;&#38;关注用户体验</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：asp.cms</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-3486</link>
		<dc:creator>asp.cms</dc:creator>
		<pubDate>Sat, 30 May 2009 16:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-3486</guid>
		<description>margin属性 写得非常透彻呀,以前有些迷惑的地方</description>
		<content:encoded><![CDATA[<p>margin属性 写得非常透彻呀,以前有些迷惑的地方</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Sunxc</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-2171</link>
		<dc:creator>Sunxc</dc:creator>
		<pubDate>Thu, 27 Nov 2008 05:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-2171</guid>
		<description>我的博客导航栏 编程开发 那里有个2级菜单 可是鼠标点不到
我看了下样式 是导航下面的内容部分的样式有个
margin:10px auto 10px; 
我把10px弄大就可以了 不知道是为什么啊


http://www.qbencao.com 博客地址 请求援助啊</description>
		<content:encoded><![CDATA[<p>我的博客导航栏 编程开发 那里有个2级菜单 可是鼠标点不到<br />
我看了下样式 是导航下面的内容部分的样式有个<br />
margin:10px auto 10px;<br />
我把10px弄大就可以了 不知道是为什么啊</p>
<p><a href="http://www.qbencao.com" rel="nofollow">http://www.qbencao.com</a> 博客地址 请求援助啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：加减乘除888</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-1659</link>
		<dc:creator>加减乘除888</dc:creator>
		<pubDate>Tue, 30 Sep 2008 01:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-1659</guid>
		<description>你好，怿飞，我看了这篇文章后对CSS框模型有了一点疑惑，希望你能为我解答：）
根据CSS的定义，元素框的大小是由元素的margin、border、padding、width、height决定，但根据你的对margin的解释，我是否应该理解，如果将margin-top值设为负值，那这个值就不会改变元素框的大小，只是将元素框向上拉动？</description>
		<content:encoded><![CDATA[<p>你好，怿飞，我看了这篇文章后对CSS框模型有了一点疑惑，希望你能为我解答：）<br />
根据CSS的定义，元素框的大小是由元素的margin、border、padding、width、height决定，但根据你的对margin的解释，我是否应该理解，如果将margin-top值设为负值，那这个值就不会改变元素框的大小，只是将元素框向上拉动？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：麦鸡的博客 &#187; 你真的认识margin么</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-1342</link>
		<dc:creator>麦鸡的博客 &#187; 你真的认识margin么</dc:creator>
		<pubDate>Fri, 29 Aug 2008 09:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-1342</guid>
		<description>[...] （注：本文图片，定义直接copy译飞的由浅入深漫谈margin属性） [...]</description>
		<content:encoded><![CDATA[<p>[...] （注：本文图片，定义直接copy译飞的由浅入深漫谈margin属性） [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：加减乘除888</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-841</link>
		<dc:creator>加减乘除888</dc:creator>
		<pubDate>Wed, 02 Jul 2008 04:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-841</guid>
		<description>#div1 {
  width:200px;
  height:200px;
}
#p1 {
  width:200px;
  height:200px;
  margin:0 50px 50px 0;
  background:green;
}
#div2 {
  width:170px;
  height:170px;
  overflow:auto;
}
#p2 {
  width:200px;
  height:200px;
  margin:0 -50px -50px 0;
  background:green;
}

  css



  css
</description>
		<content:encoded><![CDATA[<p>#div1 {<br />
  width:200px;<br />
  height:200px;<br />
}<br />
#p1 {<br />
  width:200px;<br />
  height:200px;<br />
  margin:0 50px 50px 0;<br />
  background:green;<br />
}<br />
#div2 {<br />
  width:170px;<br />
  height:170px;<br />
  overflow:auto;<br />
}<br />
#p2 {<br />
  width:200px;<br />
  height:200px;<br />
  margin:0 -50px -50px 0;<br />
  background:green;<br />
}</p>
<p>  css</p>
<p>  css</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：加减乘除888</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-840</link>
		<dc:creator>加减乘除888</dc:creator>
		<pubDate>Wed, 02 Jul 2008 04:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-840</guid>
		<description>根据文中对box的讲解，对于overflow属性，如果设置overflow=&quot;auto&quot;，我理解是不是应该解释为当元素的物理大小超出父元素的右侧、下侧时就出现滚动条，如下面的代码：
[code]





css

/*  */




  css



  css



[/code]
我将p元素与其父元素div的宽度与高度都设为200px，且为p元素设置右边界、下边界为50px，虽然p元素的逻辑大小比其父元素大，但其物理大小还是与其父元素一样，所以其父元素div没有出现滚动条。而后我再将p元素width和height设为200px，右边界和下边界设为-50px，父元素的width和height设为170px，虽然p元素的逻辑大小比其父元素小，但物理大小还是比其父元素大，所以其父元素div出现了滚动条。我在firefox、opera、safari中测试后的确是这样，但在IE中有问题。</description>
		<content:encoded><![CDATA[<p>根据文中对box的讲解，对于overflow属性，如果设置overflow=&#8221;auto&#8221;，我理解是不是应该解释为当元素的物理大小超出父元素的右侧、下侧时就出现滚动条，如下面的代码：<br />
[code]</p>
<p>css</p>
<p>/*  */</p>
<p>  css</p>
<p>  css</p>
<p>[/code]<br />
我将p元素与其父元素div的宽度与高度都设为200px，且为p元素设置右边界、下边界为50px，虽然p元素的逻辑大小比其父元素大，但其物理大小还是与其父元素一样，所以其父元素div没有出现滚动条。而后我再将p元素width和height设为200px，右边界和下边界设为-50px，父元素的width和height设为170px，虽然p元素的逻辑大小比其父元素小，但物理大小还是比其父元素大，所以其父元素div出现了滚动条。我在firefox、opera、safari中测试后的确是这样，但在IE中有问题。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：加减乘除888</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-839</link>
		<dc:creator>加减乘除888</dc:creator>
		<pubDate>Wed, 02 Jul 2008 02:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-839</guid>
		<description>比CSS权威指南更进一步的讲解，让我更深入的了解了CSS的盒模型，谢谢！</description>
		<content:encoded><![CDATA[<p>比CSS权威指南更进一步的讲解，让我更深入的了解了CSS的盒模型，谢谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：ivanling</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-757</link>
		<dc:creator>ivanling</dc:creator>
		<pubDate>Fri, 20 Jun 2008 02:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-757</guid>
		<description>总结的很好,以前只知道用,现在终于有了理论基础了,用起来也理直气壮,谢谢</description>
		<content:encoded><![CDATA[<p>总结的很好,以前只知道用,现在终于有了理论基础了,用起来也理直气壮,谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：大猫</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-611</link>
		<dc:creator>大猫</dc:creator>
		<pubDate>Fri, 30 May 2008 04:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-611</guid>
		<description>偶特地找个女友名字叫ma jin的，就是因为CSS里margin很好玩</description>
		<content:encoded><![CDATA[<p>偶特地找个女友名字叫ma jin的，就是因为CSS里margin很好玩</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：翅膀</title>
		<link>http://www.planabc.net/2007/03/18/css_attribute_margin/comment-page-1/#comment-546</link>
		<dc:creator>翅膀</dc:creator>
		<pubDate>Fri, 23 May 2008 01:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/2007/03/18/css_attribute_margin/#comment-546</guid>
		<description>好详细....谢谢</description>
		<content:encoded><![CDATA[<p>好详细&#8230;.谢谢</p>
]]></content:encoded>
	</item>
</channel>
</rss>
