Availability: |
| |||||
Property/method value type: | String primitive | |||||
JavaScript syntax: | N | myJSSTag.backgroundColor | ||||
N | myJSSTag.backgroundColor = "transparent" | |||||
N | myJSSTag.backgroundColor = aColor | |||||
CSS syntax: | background-color: aColor background-color: transparent | |||||
HTML syntax: | <BODY BGCOLOR="..."> | |||||
Argument list: | aColor | color value specified as #numeric or color name |
The JSSTag.backgroundColor property corresponds to the background-color CSS property.
This property controls the background color of the element.
The value should be a color specified using the normal numeric or symbolic name notation.
In addition, the value "transparent" can be specified to allow the background to be "see-through".
The default value is "transparent".
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.backgroundColor |
Prev | Home | Next |
JSSTag.apply | Up | JSSTag.backgroundImage |
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. |