CSS1 Test Suite: 5.4.6 text-align

The style declarations which apply to the text below are:

    .one {text-align: left;}
    .two {text-align: right;}
    .three {text-align: center;}
    .four {text-align: justify;}

This sentence should be left-justified.

This sentence should be right-justified.

This sentence should be centered.

This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western languages.

TABLE Testing Section
| This sentence should be left-justified. This sentence should be right-justified. This sentence should be centered. This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western languages.