Name
frame — NN n/a IE 4 DOM 1
Synopsis
Read/Write
Which (if any) sides of a table’s outer border (set with the
BORDER attribute or border
property) are rendered. This property does not affect the interior
borders between cells.
Example
document.all.orderForm.frame = "hsides"
Value
Any one case-insensitive frame constant (as a string):
-
above Renders border along top edge of table only
-
below Renders border along bottom edge of table only
-
border Renders all four sides of the border (default in IE)
-
box Renders all four sides of the border (same as
border)-
hsides Renders borders on top and bottom edges of table only (a nice look)
-
lhs Renders border on left edge of table only
-
rhs Renders border on right edge of table only
-
void Hides all borders (default in HTML 4.0)
-
vsides Renders borders on left and right edges of table only
Default
void (when BORDER=0);
border (when BORDER is any
other value)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access