outline-style
Sets the style of the outline frame.
Syntax
{outline-style:
sStyle }
Possible values
sStyle
String that specifies or receives one or more of the following 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. |
This property has a default value of none. It is not inherited.
Remarks
Displaying an outline does not cause reflow, no matter how wide the outline is. The outline frame is drawn over an element, and does not influence the position or size of the box, or of any other boxes.
Standards Information
Important
This documentation is preliminary and subject to change.
Applies to
a, abbr, acronym, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldset, font, form, frame, hn, hr, i, iframe, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, ins, isindex, kbd, label, li, listing, marquee, menu, nobr, object, ol, p, plaintext, pre, q, s, samp, small, span, strike, strong, sub, sup, table, td, textarea, th, tt, u, ul, var, xmp
See also
Concepts
outline
outline-color
outline-width
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.