BODYas a child of
If you have any comments to make regarding this test, e-mail email@example.com.
BODYis but a block level container...
Make your window big. The teal background (the
BODY) should extend all the way to the end of the footer,
but no further. The lower end of this page should be
green. Otherwise, the
BODY is being stretched to fit
the root element, which is wrong.
You should check that this is consistent even after resizing the window (if you can do that) or after refreshing the page, or after momentarily covering the browser window. Opera 3.51 does this test half-correct on the initial draw, but after reflowing reverts to invalid behaviour.
Up to the Evil Tests Page.
Bugzilla: Bug 3543 (margin-bottom application problem) and Bug 1583 (analogous problem for margin-top).
See also: the top of the margin-top test.
This page is maintained by Ian Hickson (firstname.lastname@example.org).
Last updated in March 1999.