Help Center

Local Navigation

CSS property: display

Availability

BlackBerry Device Software version 4.6 or later

Usage

All elements

Inherited

No

Default value

inline

The display property specifies whether an element is displayed, and if so, how it is displayed, in the BlackBerry® Browser.

Property values

Parameter

Description

block

This value specifies that the element is displayed as a block-level element, with a line break before and after.

inline

This value specifies that floating elements may not placed to the left of the given element.

inline-block

This value specifies that the element is displayed as an inline block, with no line breaks before or after.

inline-table

This value specifies that the element is displayed as an inline table, similar to the <table> element, with no line breaks before or after.

list-item

This value specifies that the element is displayed as a list item, similar to the <li> element.

none

This value hides an element and any nested elements within it. Unlike specifying a value of hidden for the visibility property, specifying display: none collapses the space occupied by the element.

table

This value specifies that the element is displayed as a block table, similar to the <table> element, with line breaks before and after.

table-caption

This value specifies that the element is displayed as a table caption, similar to the <caption> element.

table-cell

This value specifies that the element is displayed as a table cell, similar to the <td> and <th> elements.

table-footer-group

This value specifies that the element is displayed as a group of one or more rows, similar to the <tfoot> element.

table-header-group

This value specifies that the element is displayed as a group of one or more rows, similar to the <thead> element.

table-row

This value specifies that the element is displayed as a table row, similar to the <tr> element.

table-row-group

This value specifies that the element is displayed as a group of one or more rows, similar to the <tbody> element.

inherit

This value specifies that the element inherits the display property value from the containing element.

Index


Was this information helpful? Send us your comments.