Export (0) Print
Expand All

outline property

Specifies the color, style, and width of the outline frame.

CSS 2.1, Section 18.4Internet Explorer 8

 

Syntax

HRESULT value = object.put_outline( v);HRESULT value = object.get_outline(* p);

Property values

Type: BSTR

one or more of the space-delimited values listed in Possible Values.

color

Any of the range of color values available to the IHTMLRuleStyle6::outlineColor property.

style (none)

Any of the range of style values available to the IHTMLRuleStyle6::outlineStyle property.

width (medium)

Any of the range of width values available to the IHTMLRuleStyle6::outlineWidth property.

String format

[ color || style || width ]

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.

Windows Internet Explorer places the smallest contiguous outline around all elements or shapes that have an outline. Therefore, an outline may be non-rectangular if different sized elements or shapes are grouped together.

Windows Internet Explorer 8 and later. The IHTMLRuleStyle6::outline property is supported in standards-based document modes. For more info, see How to Enable Standards Support.

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
IHTMLRuleStyle6::outlineColor
IHTMLRuleStyle6::outlineStyle
IHTMLRuleStyle6::outlineWidth

 

 

Community Additions

ADD
Show:
© 2014 Microsoft