border property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the width of the border to draw around the object.
Syntax
HRESULT value = object.put_border(VARIANT v);HRESULT value = object.get_border(VARIANT* p);
Property values
Type: VARIANT
the number of pixels in the object border.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 13.7.3 (Deprecated)
Remarks
Setting a border to 0
or omitting the attribute causes no border to be displayed. Supplying the IHTMLInputElement::border attribute without a value defaults to a single border.
In Microsoft Internet Explorer 6, This property now applies to the object object.
See also
Reference
IHTMLCurrentStyle::borderColor
Build date: 6/12/2012