Name

FRAMEBORDER — NN n/a IE 3 HTML 4

Synopsis

FRAMEBORDER=”borderSwitch"

Optional

Controls whether an individual frame within a frameset displays a border. Setting IFRAME element borders via the element’s attributes is chancy at best in Internet Explorer 4. Use style sheet borders instead.

Example

<IFRAME SRC="quotes.html" WIDTH=150 HEIGHT=90 FRAMEBORDER=0></IFRAME>

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 the HTML values and yes or no.

Default

1

Object Model Reference

IE

[window.]document.frameName.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.