Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
border

border property

Sets or retrieves the width of the border to draw around the object.

 

Syntax

HRESULT value = object.put_border( v);HRESULT value = object.get_border(* p);

Property values

Type: VARIANT

the number of pixels in the object border.

Standards information

Remarks

Setting a border to 0 or omitting the attribute causes no border to be displayed. Supplying the IHTMLImgElement::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
IHTMLTable::borderColorDark
IHTMLTable::borderColorLight
IHTMLImgElement::hspace
IHTMLImgElement::vspace

 

 

Community Additions

ADD
Show:
© 2015 Microsoft