CSS1 Test Suite: 5.5.01 margin-top


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 1 September 1998

The style declarations which apply to the text below are:

.one {margin-top: 0.5in; background-color: aqua;}
.two {margin-top: 25px; background-color: aqua;}
.three {margin-top: 5em; background-color: aqua;}
.four {margin-top: 25%; background-color: aqua;}

This sentence uses the User Agent's default margin settings.

This sentence should have a top margin of half an inch, which will require extra text in order to test.

This sentence should have a top margin of 25 pixels, which will require extra text in order to test.

This sentence should have a top margin of 5 em, which will require extra text in order to test.

This sentence should have a top margin of 25%, which will require extra text in order to test.

This sentence uses the User Agent's default margin settings.

This sentence should have a top margin of half an inch, which will require extra text in order to test.

This sentence should have a top margin of 25 pixels, which will require extra text in order to test.

This sentence should have a top margin of 5 em, which will require extra text in order to test.

This sentence should have a top margin of 25%, which will require extra text in order to test.


[Previous] [Next] [Section] [Contents] [Specification]