CSS1 Test Suite: 5.6.1 display


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

The style declarations which apply to the text below are:

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

This sentence should be a block-level element.

This sentence should be an inline element.

This sentence should be an inline element too. They should therefore appear on the same line. I think.

This sentence should be a list-item.

The next sentence should be invisible:

This sentence 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 should be an inline element too. They should therefore appear on the same line. I think.

This sentence should be a list-item.

The next sentence should be invisible:

This sentence 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]