CSS1 Test Suite: 5.4.4 vertical-align


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 2 October 1998

The style declarations which apply to the text below are:

P {font-size: 12pt;}
.one {vertical-align: sub;}
.two {vertical-align: super;}
.three {vertical-align: top; font-size: 12pt;}
.four {vertical-align: text-top; font-size: 12pt;}
.five {vertical-align: middle; font-size: 12pt;}
.six {vertical-align: bottom; font-size: 12pt;}
.seven {vertical-align: text-bottom; font-size: 12pt;}
.eight {vertical-align: baseline; font-size: 12pt;}
.nine {vertical-align: 50%; font-size: 12pt;}


The last word in the sentence should be subscript-aligned.

The last word in the sentence should be superscript-aligned.

The last word in the sentence should be top-aligned.

The last hyphenated word in the sentence should be text-top-aligned.

The last hyphenated word in the sentence should be middle-aligned.

The last hyphenated word in the sentence should be bottom-aligned.

The last hyphenated word in the sentence should be text-bottom-aligned.

The last hyphenated word in the sentence should be baseline-aligned.

The last hyphenated word in the sentence should be 50%-aligned.

The last word in the sentence should be subscript-aligned.

The last word in the sentence should be superscript-aligned.

The last word in the sentence should be top-aligned.

The last hyphenated word in the sentence should be text-top-aligned.

The last hyphenated word in the sentence should be middle-aligned.

The last hyphenated word in the sentence should be bottom-aligned.

The last hyphenated word in the sentence should be text-bottom-aligned.

The last hyphenated word in the sentence should be baseline-aligned.

The last hyphenated word in the sentence should be 50%-aligned.


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