Change Language


Follow Navioo On Twitter

outline-width

Specifies the width of the outline.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
no 6.0+ no 7.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.
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.navioo.com/html_css/CSS_Attributes_and_Javascript_Style_Properties_142.dhtml

Remarks

You can also specify a fixed pixel value for outline-width.

Availability

W3C CSS2

Related

Ajax Javascript feed

↑ Grab this Headline Animator