Note: This documentation is preliminary and is subject to change.
Sets or retrieves
the color, style, and width of the outline frame.
Syntax
HTML |
{ outline : sOutline }
|
---|
Scripting | [ sOutline = ] object.style.outline [ = v ] |
---|
Possible Values
sOutline | String that
specifies or receives
one or more of the following space-delimited values:
color |
Any of the range of color values available to the
outlineColor
property.
| style |
Any of the range of style values available to the
outlineStyle
property.
| width |
Any of the range of width values available to the
outlineWidth
property.
|
|
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 medium. The Cascading Style Sheets (CSS) attribute 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.
This property requires Internet Explorer to be in
IE8 mode rendering.
Standards Information
This property is defined in
Cascading Style Sheets (CSS), Level 2 Revision 1 (CSS2.1) .
Applies To
|
currentStyle,
runtimeStyle,
style,
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
outlineColor, outlineStyle, outlineWidth