Name
FRAME — NN n/a IE 3 HTML 4
Synopsis
FRAME=”frameConstant"
Optional
Defines which (if any) sides of a table’s outer border (set
with the BORDER
attribute) are rendered. This
attribute does not affect the interior borders between cells.
Including the BORDER
attribute without assigning
any value to it is the same as setting the FRAME
attribute to border
.
Example
<TABLE BORDER=3 FRAME="void">...</TABLE>
Value
Any one case-insensitive frame constant:
-
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
Navigator: void
(when
BORDER=0
); border
(when
BORDER
is any other value). Internet Explorer:
border
.
Object Model Reference
- IE
[window.]document.all.elementID.frame
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.