Skip to Content


CSS Reference / display

display

Describes how or if an element is displayed on the canvas. Many elements have a default display such as block or inline, and the display property can make those elements behave differently.

Values:

  • none
  • inline
  • block
  • list-item
  • run-in
  • compact
  • marker
  • table
  • inline-table
  • table-row-group
  • table-header-group
  • table-footer-group
  • table-row
  • table-column-group
  • table-column
  • table-cell
  • table-caption

Examples:

  1. display: none;
  2. display: block;
  3. display: inline;

Browser support:

  • Internet Explorer 4+
  • Netscape 4+
  • Opera 3.6+

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here