CSS1 Test Suite: 5.4.8 line-height


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 14 July 1998

The style declarations which apply to the text below are:

.one {line-height: 0.5in;}
.two {line-height: 2cm;}
.three {line-height: 20mm;}
.four {line-height: 24pt;}
.five {line-height: 2pc;}
.six {line-height: 2em;}
.seven {line-height: 3ex;}
.eight {line-height: 200%;}
.nine {line-height: 2;}
.ten {line-height: 50px;}
.eleven {line-height: -1em;}
TABLE .ten {line-height: normal;}


This sentence should have a line-height of half an inch, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of two centimeters, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twenty millimeters, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twenty-four points, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of two picas, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of two em, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of three ex, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twice the font size, which should cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twice the font size, which should cause some spacing that would not otherwise be seen.

This paragraph should have a line-height of 50 pixels in the first section, which could cause some spacing that would not otherwise be seen. In the second section (within the table) its line-height should be normal.

This sentence should have a normal line-height, because negative values are not permitted for this property.

This sentence should have a line-height of half an inch, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of two centimeters, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twenty millimeters, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twenty-four points, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of two picas, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of two em, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of three ex, which might cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twice the font size, which should cause some spacing that would not otherwise be seen.

This sentence should have a line-height of twice the font size, which should cause some spacing that would not otherwise be seen.

This paragraph should have a line-height of 50 pixels in the first section, which could cause some spacing that would not otherwise be seen. In the second section (within the table) its line-height should be normal.

This sentence should have a normal line-height, because negative values are not permitted for this property.


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