Hi all,
I’ve run into an irritating little problem. I’ve been experimenting with margins and paddings and after some toying around I found a little “quirck” that made the background of my parent div disappear for the given margin: HYPERLINK "http://users.pandora.be/onderhond/onderhond/paddings-margins-2.html"http://users.pandora.be/onderhond/onderhond/paddings-margins-2.html You can check the testpage to see three example that are made using a specific margin/padding solution. The parent element is always padded from three sides, except for the top side. The children all have a top margin. On the test page you’ll see that everything is fine because I’ve added an overflow:hidden declaration on the parent element. If you take that declaration off (Firebug it), you’ll notice that the background will be clipped in FF (and other browsers, though strangely not in IE6) This has to do with collapsing margins as giving the parent element a border also helps. Sadly, these are crappy solutions, I just don’t want my background clipped there. Any way to avoid/fix this without touching the method of margins/paddings I’m using ? Any help would be greatly appreciated. Greets, Niels Matthijs No virus found in this outgoing message. Checked by AVG. Version: 7.5.518 / Virus Database: 269.21.7/1324 - Release Date: 10/03/2008 19:27 ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
