1 out of 2 rated this helpful - Rate this topic

outline property

Sets or retrieves the color, style, and width of the outline frame.

CSS 2.1, Section 18.4Internet Explorer 8

Syntax

outline: [ color || style || width ]

Property values

one or more of the following space-delimited values:

A variable of type String that specifies or receives one or more of the space-delimited values listed in Possible Values.

color

Any of the range of color values available to the outline-color property.

style

Any of the range of style values available to the outline-style property.

width

Any of the range of width values available to the outline-width property.

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Standards information

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 Windows Internet Explorer to be in IE8 Standards mode rendering.

See also

currentStyle
runtimeStyle
style
Reference
outline-color
outline-style
outline-width

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.