The color of the horizontal rule defined by this HR object will be defined in this property.
The color can be specified in the normal way according to the HTML color specifiers.
In JavaScript the noShade and color properties operate independently of one another even though setting the COLOR="..." HTML tag attribute implies a NOSHADE attribute as well when defined in the document HTML source.
See also: | Color names, Color value |
Prev | Home | Next |
HR.align | Up | HR.noShade |
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. |