The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Layout |
| Previous Style: vertical-align | Next Style: voice-family |


visibility

Determines whether an element is visible or hidden.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later 4.0 and later
Notes:
    Even if an element is hidden, it's still part of (and therefore affects) the page layout.

See Also:

clear, display, float

Possible Values:

collapse
Hides a row or column when used in a table.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

hidden
The element is not displayed.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

hide
The layer is not displayed.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later

show
The layer is displayed.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later

visible
The element is displayed.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 4.0 and later Not supported

Example:
Text before.
<BR>
<IMG SRC="thinker.gif" STYLE="visibility: hidden">
<BR>
Text after.
How It Looks:
Text before.

Text after.

| Index | Current Category: Layout |
| Previous Style: vertical-align | Next Style: voice-family |