Help Center

Local Navigation

CSS property: visibility

Availability

BlackBerry® Device Software version 4.6 or later

Usage

all elements

Inherited

yes

Default value

visible

The visibility property specifies whether an element is visible or hidden.

Considerations

Elements with a visibility property set to a value of hidden still take up space on the page. Use the display property to hide elements without taking up any space.

Values

Value

Description

collapse

When used in table elements, this value specifies that a row or column should be removed a row or column. It does not affect the table layout. The space taken up by the row or column will be available for other content.

When used on other elements, this value is equivalent to a value of hidden.

hidden

This value specifies that the element is invisible. Invisible elements still occupy space on the page.

visible

This value specifies that the element is visible.

Index


Was this information helpful? Send us your comments.