display

Control whether or not multiple elements can appear on one line. A paragraph tag only allows for one paragraph per line, by default. With CSS you can make new lines occur after each element (block) or prevent new lines (inline).

Value Description
block Only allow one element of this kind per line. Additional elements with a block value will appear below the preceding element.
inline Display all elements of this type inlined. i.e. multiple, short paragraphs can be displayed on one line.

Code:

a { display: block; }
p { display: inline; }

Display:

Compatibility Issues:

IE 5.0 - The value "list-item" is not supported.
IE 5.5 - The value "list-item" is not supported.