outline-width

Specifies the width of the outline.

Platform Support

IENetscapeMozillaOperaSafari
no6.0+no7.0+1.2+
  • Safari: Support for "outline" in Safari is "buggy".

Usage

Example values: 2px, medium, etc.

Values

*Specify an outline width value not on this list.
inheritInherit the value from the parent element.
thinThin outline.
mediumMedium outline.
thickThick 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

Related

text_css aptana_docs