Mozilla.com

Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Parameters
  4. 4. Example
  5. 5. Specification
Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Parameters
  4. 4. Example
  5. 5. Specification

« Gecko DOM Reference

Summary

frame specifies which external table borders to render.

Syntax

HTMLTableElement.frame = side;
var side = HTMLTableElement.frame;

Parameters

  • side is a string with one of the following values:
void 
no sides. this is the default.
above 
top side
below 
bottom side
hsides 
top and bottom only
vsides 
right and left sides only
lhs 
left-hand side only
rhs 
right-hand side only
box 
all four sides
border 
all four sides

Example

// Set the frame of TableA to 'border'
var t = document.getElementById('TableA');
t.frame  = "border";
t.border = "2px";

Specification

W3C DOM 2 HTML Specification HTMLTableElement.frame.

Page last modified 05:19, 13 Apr 2006 by RobG?

Files (0)