The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Outlines |
| Previous Style: outline | Next Style: outline-style |


outline-color

Sets the color of an outline.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported
Possible Values:
[color]
The color of the outline.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

Notes:
  • Use either six-digit RRGGBB color code (preceded by #) or a color name from the X11 Color Set.

invert
Sets the outline color to the opposite of whatever color is under the outline.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

Example:
<STYLE TYPE="text/css">
<!--
.ActiveField {outline-color: DarkGray"}
-->
</STYLE>

| Index | Current Category: Outlines |
| Previous Style: outline | Next Style: outline-style |