BORDER Attribute | border

HTML (DHTML)

BORDER Attribute | border Property

Internet Development Index

Sets or retrieves the space between the frames, including the 3-D border.

Syntax

HTML<ELEMENT BORDER = vSpace... >
Scriptingobject.border [ = vSpace ]

Possible Values

vSpaceVariant that specifies or receives the number of pixels to reserve as space between frames.

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

Remarks

This property applies either to the outer frameSet element or to inner frameSet elements. When you specify the border property of the outermost frameSet element, the border properties of any inner frameSet elements are ignored. When you do not specify the border property of the outermost frameSet element, the border properties of inner frameSet elements are not ignored.

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

Standards Information

This property is a Microsoft extension to HTML Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

FRAMESET, IFRAME