borderColor property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the border color of the object.
Syntax
Integer value = object.put_borderColor(BSTR v);Integer value = object.get_borderColor(BSTR* sColor);
Property values
Type: BSTR
one or more of the space-delimited values listed in Possible Values.
transparent (transparent)
Border is transparent.
color (color)
Up to four color names or RGB values in the BUGBUG! missing link text: ie.Color_Table.
String format
[ <color> | transparent ] {1,4}
CSS information
Applies To | All elements |
Media | visual |
Inherited | no |
Initial Value |
Standards information
- CSS 2.1, Section 5.5.16
Remarks
Up to four different colors can be specified in the following order: top, right, bottom, left. If one color is supplied, it is used for all four sides. If two colors are supplied, the first is used for the top and bottom, and the second is used for left and right. If three colors are supplied, they are used for top, right and left, and bottom, respectively.
The border-color property does not render if the border-style property is set to none.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Header |
|
DLL |
Mshtml.dll |
See also
Build date: 1/23/2012