outline-styleNN n/a IE 5(Mac) CSS 2

Inherited: No

Controls the style of an outline around an element. These are the same edge designs as border styles.

 
CSS Syntax
 
outline-style: borderStyle
 
Value

Style values are constants that are associated with specific ways of rendering border lines. See border-style for a list and illustration. One value controls all sides of the outline.

 
Initial Value

none

 
Example
 
h2 {outline-style: solid}
div {outline-style: groove}
 
Applies To

All elements.

 
Object Model Reference
 
[window.]document.getElementById("elementID").style.outlineStyle