Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

outlineWidth property

Sets or retrieves the width of the outline frame.

CSS 2.1, Section 18.4Internet Explorer 8

Syntax

HRESULT value = object.put_outlineWidth( v);HRESULT value = object.get_outlineWidth(* p);

Property values

Type: VARIANT

medium (medium)

Default. About 4px.

thin (thin)

Less than the default width.

thick (thick)

Greater than the default width.

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.

String format

medium | thin | thick

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.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
IHTMLCurrentStyle5::outline
IHTMLCurrentStyle5::outlineColor
IHTMLCurrentStyle5::outlineStyle

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.