<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/css/tags/margin</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 23 Nov 2008 15:54:44 GMT</pubDate>
<item>
<title>(CSS) Float in Float IE6 margin wrong inherted div width Bug - bassdas</title>
<link>http://snipplr.com/view/6244/float-in-float-ie6-margin-wrong-inherted-div-width-bug/</link>
<description><![CDATA[ <p>Bugfix/Lösungsvorschlag:

Es ist offensichtlich, dass die Zelle mit der ID cell3467 und dem definierten "margin-right: 3.09%" falsch berechnet wird - nämlich mit realen 16 Pixeln anstatt 8 - und auf den obersten Basis-Wert der "DIV width" zurückgreift (100% anstatt 50%). Dabei wird dazwischen die Weite 50% der Gruppe #group1573 übergangen! Somit müssen wir nach dieser Gruppe nochmals eine Ebene (DIV) mit der Weite von 100% (width: 100%) definieren um die richtige Weite von realen 3.09% (8 Px) zu erlangen.

Es muss nun innerhalb der Gruppe nochmals eine Ebene (DIV) mit einer Weite von 100% erstellt werden:</p> ]]></description>
<pubDate>Thu, 15 May 2008 13:55:35 GMT</pubDate>
<guid>http://snipplr.com/view/6244/float-in-float-ie6-margin-wrong-inherted-div-width-bug/</guid>
</item>
<item>
<title>(CSS) CSS Collapsible Margins Fix (margin-top) - 1man</title>
<link>http://snipplr.com/view/4831/css-collapsible-margins-fix-margintop/</link>
<description><![CDATA[ <p>A very annoying 'bug' can occur when you are applying a top margin to an element inside a container. The inner elements margin seems to "leak" out of the top of the container. This pushes the container down, and looks very messy if you have a background applied.

Note: This is NOT and bug! Yay etc..

A quick fix is to add a padding of 1px, and a margin of -1px. Or you could add a border to the container.</p> ]]></description>
<pubDate>Tue, 29 Jan 2008 16:18:01 GMT</pubDate>
<guid>http://snipplr.com/view/4831/css-collapsible-margins-fix-margintop/</guid>
</item>
<item>
<title>(CSS) Centre using Auto Margins - 1man</title>
<link>http://snipplr.com/view/232/centre-using-auto-margins/</link>
<description><![CDATA[ <p>Taken from bluerobot. Create a content div, set the width and the margin set to auto will align the div to the centre horizontally.</p> ]]></description>
<pubDate>Wed, 05 Jul 2006 10:04:57 GMT</pubDate>
<guid>http://snipplr.com/view/232/centre-using-auto-margins/</guid>
</item>
</channel>
</rss>