visibility

Support Key: CSS2 | IE4 | N4
Other Classification Properties
display
position
float
clear
= Index DOT Css by Brian Wilson [bloo@blooberry.com] =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
inherit
Applicable Elements:
All
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
<layer VISIBILITY="">
What is it?
This property controls whether the content of an element box is rendered (including the borders and backgrounds.) If an element box is invisible it still affects document layout as if it were visible (to prevent an element box from affecting layout, the 'display' property should be set to 'none'.)

Allowed Values
inherit
CSS2 | IE4 | N4
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
visible
CSS2 | IE4
Type: Explicit
Description:
The element box is visible.
hidden
CSS2 | IE4
Type: Explicit
Description:
The element box is invisible (completely transparent to content beneath), but still affects document layout flow as if it were visible.
collapse
CSS2
Type: Explicit
Description:
Unless this value is used in the context of table rows or columns, it will have the same effect as 'hidden'. In the context of tables, spanned cells may be clipped and reacts similar to 'display: none' for the table element.
hide
N4
Type: Explicit
Description:
The element box is invisible (completely transparent to content beneath), but still affects document layout flow as if it were visible.
show
N4
Type: Explicit
Description:
The element box is visible.
Example
Ext/Doc: p { visibility: hidden }
In-Line:  <p STYLE="visibility: hidden">text</p>
Notes Browser Peculiarities

Boring Copyright Stuff....