Frame.frameBorder (Property)

A control attribute for borders around frames.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive.
JavaScript syntax:-myFrame.frameBorder

This property provides a way to switch frame borders on and off. Although it is a switching property and behaves as if it were a Boolean value, it really is implemented as a String value.

This is because it accepts a yes/no value or a 0/1 value depending on which browser you are using. The following values may be used:

See also:IFRAME.frameBorder, IFRAME.frameSpacing