This is currently implemented as a simple visibility switch. If the property is set to the value "none", then the object is hidden. To reveal the object again, set this property to its default value which is an empty string ("").
When the object is hidden, the surrounding objects close up the space. This means you cannot use the property to accomplish a blinking effect, because everything will dance around the screen as the object appears and disappears.
The full CSS specification for this property allows for it to control the display of an object as either an inline or block level element in the page.
The following keywords are defined for use with this property:
none
block
compact
inline
inline-table
list-item
run-in
table
table-caption
table-cell
table-column-group
table-footer-group
table-header-group
table-row
table-row-group
See also: | JSSTag.display |
Prev | Home | Next |
style.direction | Up | style.elevation |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |