CSS Display Property

Posted The: 02/01/2009 At: 23:58

The Display Property of CSS is used to control the element type.

Possible Values

  1. none
  2. block
  3. inline
  4. inline-block
  5. list-item
  6. run-in

Example

CSS Display Property Usage Example

div { /* All div elements will be hidden */
 display: none;
}
#Basement { /* The element with its id attribute set to Basement will be hidden */
 display: none;
}

Inherited? - NO!

Comments: [0]

© Brugbart Webdesign