mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
14 lines
300 B
HTML
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>
|