Specifies the width of the outline.
Platform Support
| IE | Netscape | Mozilla | Opera | Safari | no | 6.0+ | no | 7.0+ | 1.2+ |
|---|---|---|---|---|
| ||||
Usage
Example values: 2px, medium, etc.
Values
| * | Specify an outline width value not on this list. |
| inherit | Inherit the value from the parent element. |
| thin | Thin outline. |
| medium | Medium outline. |
| thick | Thick outline. |
Example
For a demonstration of the outline attributes, see the demo page on quirksmode:
http://www.quirksmode.org/css/outline.html
Remarks
You can also specify a fixed pixel value for outline-width.
Availability
W3C CSS2
