The JSSTag.textDecoration property corresponds to the text-decoration CSS property.
This controls the decoration of the text on screen with additional overprinting or dynamics.
The following values are permitted:
underline
overline
line-through
blink
Beware when you use the underline attribute, people may think that it is a hyperlink. Also avoid using the blink decoration unless you really need to. It can become very annoying for the user unless it is used with taste and discretion.
The default value for this property is "none".
This value is not inherited from its parent container element although the attributes of the parent will persist.
Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0.
See also: | style.textDecoration |
Prev | Home | Next |
JSSTag.textAlign | Up | JSSTag.textIndent |
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. |