TABLE.frame (Property)

A control over which of the table cells sides are controlled by the BORDER tag attribute and border property of the TABLE object.

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:-myTABLE.frame

This property controls which parts of a table's outer framing border are rendered into the display. The following keywords are supported by this property:

KeywordDescription
aboveThe top edge only
belowThe bottom edge only
borderAll four sides
boxSame as border
hsidesTop and bottom edges
lhsLeft edge
rhsRight edge
voidNo sides framed at all
vsidesLeft and right sides

The frame property affects the outer border around the whole table. You should use the border property to control the ruled edges between cells.

See also:TABLE.border, TABLE.rules