bgColorbgColor*
*Contents  *Index  *Topic Contents
*Previous Topic: bgColor
*Next Topic: bgProperties

bgColor

Description

Sets the background color of the page. The color can be one of the color names or values given in Color Table.

Syntax

object.bgColor[ = color]

Remarks

JScript supports the entire set of valid property colors both as strings and their numerical equivalents as a string. JScript always returns the property as the numerical equivalent as a string regardless of the format the value was set to.

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

BODY, document

See Also

background


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.