From: Arlen Walker <[EMAIL PROTECTED]> >> <http://www.w3.org/TR/CSS2/box.html#collapsing-margins> > >Hmmm. If the top margin of the h2 is allowed to "reach through" an >unbordered box, but not allowed to reach through a border, you might >be on to something.
<snip> >Unfortunately, this idea fails experimentally. I tried putting 1px of >padding at the top of the #overview box. If the above were true, then >the background color would extend 1 pixel higher than before, but not >only does the text move down 1 pixel, but all of the background >reappears. By adding just one pixel, I get about 20 px of background >color. I believe your description is exactly what the specs describe about collapsing margins, quoted below - "In this specification, the expression collapsing margins means that adjoining margins >>>>>(no padding or border areas separate them)<<<<< of two or more boxes (which may be next to one another or nested) combine to form a single margin." Both border AND padding will contain margins and prevent the collapsing. So, if I'm understanding your experiment, you've actually "proved" that the spec is being followed in this instance. Hope that helps clear things up, ~holly ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/