CSS1 Test Suite: 5.5.10 padding


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 14 July 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: aqua;}

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 an aqua (light blue) 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 an aqua (light blue) background which the padding should inherit.


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