<?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: CSS Margin Collapse</title>
	<atom:link href="http://www.dave-woods.co.uk/index.php/css-margin-collapse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/</link>
	<description></description>
	<lastBuildDate>Sat, 28 Jan 2012 15:57:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Kalligeo</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-9108</link>
		<dc:creator>Kalligeo</dc:creator>
		<pubDate>Sun, 17 Aug 2008 15:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-9108</guid>
		<description>hello, actually there a strange thing about horizontal collapsing

working on ubuntu linux 8.04, firefox 3.0.1 and opera 9.51, i see that the following code works dramatically different:

#left  {
  margin:           7px 7px 0 0;
  padding:          7px;
  width:            108px;
  float:            left;
  }
#main  {
  margin:           7px 0 7px 7px;
  overflow-y:       auto;
  }


this way you have 7 pixels between left and main in firefox, and 14 pixels in opera

to have 7 pixels in both i need to set:


#main  {
  margin:           7px 0 7px 0px;
  overflow-y:       auto;
  }


could you help me? 

i&#039;m not comfortable to access internet explorer (well i could use http://ipinfo.info/netrenderer/ but i&#039;m lazy :-)

i wait for your reply....

thank you

KG</description>
		<content:encoded><![CDATA[<p>hello, actually there a strange thing about horizontal collapsing</p>
<p>working on ubuntu linux 8.04, firefox 3.0.1 and opera 9.51, i see that the following code works dramatically different:</p>
<p>#left  {<br />
  margin:           7px 7px 0 0;<br />
  padding:          7px;<br />
  width:            108px;<br />
  float:            left;<br />
  }<br />
#main  {<br />
  margin:           7px 0 7px 7px;<br />
  overflow-y:       auto;<br />
  }</p>
<p>this way you have 7 pixels between left and main in firefox, and 14 pixels in opera</p>
<p>to have 7 pixels in both i need to set:</p>
<p>#main  {<br />
  margin:           7px 0 7px 0px;<br />
  overflow-y:       auto;<br />
  }</p>
<p>could you help me? </p>
<p>i&#8217;m not comfortable to access internet explorer (well i could use <a href="http://ipinfo.info/netrenderer/" rel="nofollow">http://ipinfo.info/netrenderer/</a> but i&#8217;m lazy <img src='http://www.dave-woods.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>i wait for your reply&#8230;.</p>
<p>thank you</p>
<p>KG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wendelin</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1530</link>
		<dc:creator>Eric Wendelin</dc:creator>
		<pubDate>Fri, 22 Feb 2008 05:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1530</guid>
		<description>This is a nice simple example. Of course there are caveats with tables, but isn&#039;t that the case in general when we talk about spacing and tables? 

Well done, Dave!</description>
		<content:encoded><![CDATA[<p>This is a nice simple example. Of course there are caveats with tables, but isn&#8217;t that the case in general when we talk about spacing and tables? </p>
<p>Well done, Dave!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1513</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 21 Feb 2008 10:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1513</guid>
		<description>Hi Craig, I agree that within table cells and rows you do have a slightly different issue but this can usually be controlled using border-collapse and padding.

Other than that though, margin collapse should always work, even on the actual table tag itself in relation to other elements before or after it.</description>
		<content:encoded><![CDATA[<p>Hi Craig, I agree that within table cells and rows you do have a slightly different issue but this can usually be controlled using border-collapse and padding.</p>
<p>Other than that though, margin collapse should always work, even on the actual table tag itself in relation to other elements before or after it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1512</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Thu, 21 Feb 2008 09:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1512</guid>
		<description>There are some cases where even vertical margin collapsing does not work as expected.

For example the margin on a table.

Its these exceptions which can cause some difficulties when making the design consistent.</description>
		<content:encoded><![CDATA[<p>There are some cases where even vertical margin collapsing does not work as expected.</p>
<p>For example the margin on a table.</p>
<p>Its these exceptions which can cause some difficulties when making the design consistent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1499</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 20 Feb 2008 19:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1499</guid>
		<description>Hi Art, Thanks for letting me know, I&#039;ve corrected those spellings now. Cheers.</description>
		<content:encoded><![CDATA[<p>Hi Art, Thanks for letting me know, I&#8217;ve corrected those spellings now. Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Art</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1497</link>
		<dc:creator>Art</dc:creator>
		<pubDate>Wed, 20 Feb 2008 18:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1497</guid>
		<description>To make something plural, you add an &#039;s&#039; to the end of the word without an apostrophe. When talking about more than one margin, it should be &quot;margins&quot; not &quot;margin&#039;s&quot;.</description>
		<content:encoded><![CDATA[<p>To make something plural, you add an &#8216;s&#8217; to the end of the word without an apostrophe. When talking about more than one margin, it should be &#8220;margins&#8221; not &#8220;margin&#8217;s&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1496</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 20 Feb 2008 16:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1496</guid>
		<description>&lt;p&gt;Hi Chris, This only applies to vertical margins so is best used for things like spacing between headings, paragraphs, list items etc&lt;/p&gt;
&lt;p&gt;Horizontal margins aren&#039;t affected by the margin collapse so you&#039;ll find that the total margin is calculated by adding any touching margins together for things like columns.&lt;/p&gt;
&lt;p&gt;Hope that makes sense.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Chris, This only applies to vertical margins so is best used for things like spacing between headings, paragraphs, list items etc</p>
<p>Horizontal margins aren&#8217;t affected by the margin collapse so you&#8217;ll find that the total margin is calculated by adding any touching margins together for things like columns.</p>
<p>Hope that makes sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.dave-woods.co.uk/index.php/css-margin-collapse/comment-page-1/#comment-1495</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 20 Feb 2008 16:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=194#comment-1495</guid>
		<description>does this work for horizontal margin as well? Guess I&#039;ll have to do some testing. Thanks for the great article!</description>
		<content:encoded><![CDATA[<p>does this work for horizontal margin as well? Guess I&#8217;ll have to do some testing. Thanks for the great article!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

