Click to Rate and Give Feedback
MSDN
MSDN Library
outline-style Attribute | outlineStyle Property

Gets or sets the style of the outline frame.

Syntax

CSS { outline-style : sStyle }
Scripting[ sStyle = ] object.style.outlineStyle [ = sStyle ]

Possible Values

sStyleString that specifies or receives one 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.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of none. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 2 Revision 1 (CSS2.1).

Applies To

A, ABBR, ACRONYM, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, CSSStyleDeclaration, currentStyle, 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, runtimeStyle, S, SAMP, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker