Sets or retrieves the style of the outline frame.
![]() ![]() |
Syntax
outline-style: none | dotted | dashed | solid | double | groove | ridge | inset | outset | window-inset
Property values
none-
Default. The border is not drawn, regardless of any outline-width.
dotted-
The border is a dotted line.
dashed-
The border is a dashed line.
solid-
The border is a solid line.
double-
The border is a double line. The outline-width property value must be at least 3 pixels for a double border to be drawn.
groove-
A 3-D groove is drawn in colors based on the value.
ridge-
A 3-D ridge is drawn in colors based on the value.
inset-
A 3-D inset is drawn in colors based on the value.
outset-
A 3-D outset is drawn in colors based on the value.
window-inset-
The border is the same as inset, but is surrounded by an additional single line, drawn in colors based on the value.
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
- CSS 2.1, Section 18.4
Remarks
This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012

