Share via


MarqueeElement.bgColor Property

SharePoint Designer Developer Reference

Returns or sets a String, specifying a color name or red-green-blue (RGB) value, that represents the color behind the content for a MARQUEE element. Corresponds to the bgcolor attribute.

Syntax

expression.bgColor

expression   Required. A variable that represents a MarqueeElement object.

Remarks

The bgColor property is similar to the backgroundColor property; however, the bgColor property corresponds to the value of the bgcolor attribute, while the backgroundColor property corresponds to the backgroundcolor property for a cascading style sheet.

A String value of "NoColor" for the bgColor property indicates that the bgcolor attribute is not set.

For more information about RGB color values, see the Color Table.

See Also