Name

FRAMEBORDER — NN 3 IE 3 HTML 4

Synopsis

FRAMEBORDER=”borderSwitch"

Optional

Controls whether an individual frame within a frameset displays a border. The setting is supposed to override the FRAMEBORDER attribute setting of the containing FRAMESET element. Controlling individual frame borders appears to be a problem for most browsers in most operating system versions. Turning off the border of one frame may have no effect if all adjacent frames have their borders on. Feel free to experiment with the effects of turning some borders on and some borders off, but be sure to test the final effect on all browsers and operating systems used by your audience. Rely more comfortably on the FRAMEBORDER attribute of the entire FRAMESET.

Example

<FRAME NAME="navbar" SRC="nav.html" FRAMEBORDER=no>

Value

On-off values for this attribute vary with the source. HTML 4.0 specifies the values of 1 (on) and 0 (off). Navigator uses yes and no. Internet Explorer 4 accepts both sets of values. For cross-browser compatibility, use the yes/no pairing.

Default

yes

Object Model Reference

IE

[window.]document.all.frameID.frameBorder

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.