Skip to main content
border attribute | border property

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

Syntax

HTML<element border="p" ... >
JavaScript

p = object.border

Property values

Type: Variant

the number of pixels to reserve as space between frames.

Standards information

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.

See also

frameSet
iframe