CSS1 Test Suite: 5.5.10 padding


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

The style declarations which apply to the text below are:

.one {padding: 0.5in;}
.two {padding: 25px;}
.three {padding: 5em;}
.four {padding: 25%;}
.five {padding: 25px; background-color: cyan;}

This sentence should have an overall padding of half an inch, which will require extra text in order to test.

This sentence should have an overall padding of 25 pixels, which will require extra text in order to test.

This sentence should have an overall padding of 5 em, which will require extra text in order to test.

This sentence should have an overall padding of 25%, which will require extra text in order to test.

This sentence should have a overall padding of 25 pixels and a cyan background which the padding should inherit.

This sentence should have an overall padding of half an inch, which will require extra text in order to test.

This sentence should have an overall padding of 25 pixels, which will require extra text in order to test.

This sentence should have an overall padding of 5 em, which will require extra text in order to test.

This sentence should have an overall padding of 25%, which will require extra text in order to test.

This sentence should have a overall padding of 25 pixels and a cyan background which the padding should inherit.


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