outlineWidth property

Specifies the width of the outline frame.

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 To All elements
Media visual
Inherited no
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

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference

IHTMLStyle6::outline

IHTMLStyle6::outlineColor

IHTMLStyle6::outlineStyle