JSSTag.backgroundColor (Property)

The background color for objects.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.backgroundColor
NmyJSSTag.backgroundColor = "transparent"
NmyJSSTag.backgroundColor = aColor
CSS syntax:background-color: aColor background-color: transparent
HTML syntax:<BODY BGCOLOR="...">
Argument list:aColorcolor 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.


See also:style.backgroundColor