outline property
Sets or retrieves the color, style, and width of the outline frame.
![]() ![]() |
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 IHTMLStyle6::outlineColor property.
style (none)
-
Any of the range of style values available to the IHTMLStyle6::outlineStyle property.
width (medium)
-
Any of the range of width values available to the IHTMLStyle6::outlineWidth property.
String format
[ color || style || width ]
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
- CSS 2.1, Section 18.4
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 |
|
|
IDL |
|
|
DLL |
|
See also
Build date: 11/12/2012

