CSS1 Test Suite: 5.6.2 white-space


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

The style declarations which apply to the text below are:

.one {white-space: pre;}
.two {white-space: nowrap;}
.three {white-space: normal;}


This sentence should show extra space where there would ordinarily not be any. There should also be preservation of returns as this sentence very clearly demonstrates.

This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect.

This sentence should show extra space, except in the second half.

This sentence should show extra space where there would ordinarily not be any. There should also be preservation of returns as this sentence very clearly demonstrates.

This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect.

This sentence should show extra space, except in the second half.


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