Export (0) Print
Expand All

outline-width property

Specifies the width of the outline frame.

CSS 2.1, Section 18.4Internet Explorer 8

 

Syntax

outline-width: medium | thin | thick

Property values

medium

Default. About 4px.

thin

Less than the default width.

thick

Greater than the default width.

width

A floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see CSS Values and Units Reference.

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
outline-color
outline-style

 

 

Show:
© 2014 Microsoft