outline-style

Specifies a style for an outline.

Platform Support

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

Values

inheritInherit the value from the parent element.
noneNo outline.
dottedDotted line.
dashedDashed line.
solidSolid line.
doubleDouble line.
grooveGrooved line.
ridgeRidged line.
insetInset line.
outsetOutset line.
hiddenHidden outline.

Example

For a demonstration of the outline attributes, see the demo page on quirksmode:

http://www.quirksmode.org/css/outline.html

Availability

W3C CSS2

Related

text_css aptana_docs