This value controls the foreground text in the document body. You should use the normal color values to define the required color.
This is the default text color for the document. It corresponds to the TEXT attribute in the <BODY> tag.
Default foreground text is colored according to this setting unless it is in an <A> tag when the alinkColor, linkColor and vlinkColor properties override it. The foreground text color can be changed inline with the <FONT COLOR="..."> HTML tag attribute.
Now that the style control facilities are more sophisticated, this tag attribute is likely to fall into disuse.
Note also that its property name is not consistent with its counterpart, the document.fgColor property whose value it reflects.
Prev | Home | Next |
BODY.tabIndex | Up | BODY.topMargin |
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. |