CSS1 Test Suite: 5.5.01 margin-top


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 11 May 1998

The style declarations which apply to the text below are:

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

This sentence is normal.

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 is normal.

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]