Sent by April on 19 June 2002 22:10
On 19 Jun 2002 at 17:16, Scott Sauyet wrote:
>
> Maybe I misunderstand the spec, but it seems to me that this is what
> would likely happen from the collapsing vertical margins described
> here: http://www.w3.org/TR/REC-CSS2/box.html#collapsing-margins.
>
> "Two or more adjoining vertical margins of block boxes in the
> normal flow collapse. The resulting margin width is the maximum of the
> adjoining margin widths."
In my tests, that has the unfortunate effect of negating the background color
of a div which contains p elements, but in different ways among (Win2K) IE6,
Opera6, and Netscape6. The following displays a live example followed by 3
screen shots:
http://www.typeandimage.com/css/margins2.html
-april
-- http://www.bungalow104.com