borderTopWidth property
Specifies the thickness of the top border of the object.
Syntax
Integer value = object.put_borderTopWidth(Variant v);Integer value = object.get_borderTopWidth(Variant* sWidth);
Property values
Type: VARIANT
medium (medium)
Initial value. The default thickness.
thin (thin)
Less than the default thickness.
thick (thick)
Greater than the default thickness.
width (width)
Thickness specified by a floating-point number, followed by a supported length unit.
String format
medium | thin | thick | <width>
CSS information
Applies To | All elements |
Media | visual |
Inherited | no |
Initial Value | medium |
Standards information
- CSS Backgrounds and Borders Module Level 3, Section 4.3
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |
See also
Reference
IHTMLCSSStyleDeclaration::border
Other Resources