CSS1 Test Suite: 5.6.1 display


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 10 June 1998

The style declarations which apply to the text below are:

.one {display: block;}
.two {display: inline;}
.three {display: list-item;}
.four {display: none; color: red;}
I {display: block;}

This sentence should be a block-level element.

This sentence should be an inline element.

This sentence and the next two are also inline elements. They should therefore appear to be all one paragraph, so to speak. If this is not the case, then the keyword inline is likely being ignored.

This sentence should be treated as a list-item.

The next paragraph should be invisible (if it's visible, you'll see red text).

This paragraph should be invisible.

There should be no text after the colon: fnord.

The italicized text in this paragraph only should be a block-level element.

This sentence should be a block-level element.

This sentence should be an inline element.

This sentence and the next two are also inline elements. They should therefore appear to be all one paragraph, so to speak. If this is not the case, then the keyword inline is likely being ignored.

This sentence should be treated as a list-item.

The next paragraph should be invisible (if it's visible, you'll see red text).

This paragraph should be invisible.

There should be no text after the colon: fnord.

The italicized text in this paragraph only should be a block-level element.


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