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: orphans | Next Style: outline-color |


outline

This is a shorthand style that enables you to set the various outline properties in a single style.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later Not supported Not supported
Notes:
  • An outline is a type of border that appears around an element. It's ideal use is to mark "active" elements, such as a form field.
  • This style can apply the following outline properties: outline-color, outline-style, and outline-width.
  • Separate each property with a space.
Possible Values:
[outline-color]
See outline-color.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

[outline-style]
See outline-style.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

[outline-width]
See outline-width.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later Not supported Not supported

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

| Index | Current Category: Outlines |
| Previous Style: orphans | Next Style: outline-color |