www.fgks.org   »   [go: up one dir, main page]

BORDER Attribute | border Property

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

Syntax

HTML<ELEMENT BORDER = iBorder... >
Scripting[ iBorder = ] object.border

Possible Values

iBorderString that specifies or receives the number of pixels in the object border.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

Setting a border to 0 or omitting the attribute causes no border to be displayed. Supplying the BORDER attribute without a value defaults to a single border.

In Microsoft Internet Explorer 6, This property now applies to the object object.

Standards Information

This property is deprecated in HTML World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

OBJECT, IMG, LAYOUTRECT, TABLE

See Also

borderColor, borderColorDark, borderColorLight, hspace, vspace


MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Properties
border (IMG, LAYOUTRECT, OBJECT, TABLE)