You are here:    Home » CSS Tutor » CSS Reference

The Web Design Group

Display


Syntax: display: <value>
Possible Values: block | inline | list-item | none
Initial Value: block
Applies to: All elements
Inherited: No

The display property is used to define an element with one of four values:

Each element typically is given a default display value by the browser, based on suggested rendering in the HTML specification.

The display property can be dangerous because of its ability to display elements in what would otherwise be an improper format. The use of the value none will turn off display of the element to which it is assigned, including any children elements!


Maintained by John Pozadzides and Liam Quinn


Web Design Group ~ CSS Index ~ CSS Structure ~ CSS Properties

Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.