W3C home > Mailing lists > Public > www-style@w3.org > November 1998

Colors of collapsed margins

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Thu, 19 Nov 1998 15:51:27 -0500 (EST)
Message-Id: <199811192051.PAA17830@login4.fas.harvard.edu>
To: www-style@w3.org
Does CSS2 define the color of collapsed margins where there are more
than two margins that have collapsed?  If it doesn't, should it?

These situations involve layered block level elements, for example
"<DIV> <UL> ... </UL> </DIV> <DIV> <UL> ... </UL> </DIV>".  In these
situations, it is possible that each margin does not have the same
color, since the DIV may have a background color different from that of
DIV's parent.  This can create some rather ugly situations.  ( See
http://www.fas.harvard.edu/~dbaron/csstest/listbox.html in Opera or
NGLayout -- MSIE has some bugs so the problem doesn't appear.)

Received on Thursday, 19 November 1998 15:51:30 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:12:40 UTC