www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 fgColor Property
fgColor Property

Sets or gets the foreground (text) color of the document.

Syntax

[ vColor = ] document.fgColor [ = v ]

Possible Values

vColorString or Integer that specifies or receives one of the color names or values in the Color Table.

The property is read/write. The property has a default value of #000000.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Standards Information

There is no public standard that applies to this property.

Applies To

document

See Also

color, text
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG