The JSSTag.display property corresponds to the display CSS property.
This property controls the way that a styled element is displayed on-screen. It can cause the element to appear as a block item, something that is inline, a list or other possibilities. The following values are accepted:
inline
block
list-item
run-in
compact
marker
table
inline-table
table-row-group
table-header-group
table-footer-group
table-row
table-column-group
table-column
table-cell
table-caption
none
Elements having the display property set to "block" will be forced to start on a new line.
The "inline" value keeps items running together on the same line.
Setting the display property to "none" will completely hide an item.
The other property values are quite complex and beyond the scope of our coverage here and are documented thoroughly in other works that specifically cover the CSS presentation styling standard. In any case, the whole JSS style complex is deprecated and will likely fall into disuse.
The default value for this property is "inline".
This value is not inherited from its parent container element.
Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0.
See also: | style.display |
Prev | Home | Next |
JSSTag.color | Up | JSSTag.fontFamily |
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. |