gecko-dev/layout/html/tests/block/collapsing-border-margins.html
kipp%netscape.com 2f392118fc new
1998-12-05 19:13:58 +00:00

14 lines
300 B
HTML

<HTML>
<HEAD>
<STYLE type="text/css">
DIV { margin: auto 0; border: 2px solid green; }
</STYLE>
</HEAD>
<BODY>
Demonstrate collapsing nested + sibling margins:
<DIV><DIV>Auto margins</DIV></DIV>
<DIV><DIV>Auto margins</DIV></DIV>
<DIV><DIV>Auto margins</DIV></DIV>
</BODY>
</HTML>