frame attribute | frame property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the way the border frame around the table is displayed.
Syntax
| HTML | <element frame="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
void
-
Default. All outside table borders are removed.
above
-
Border on the top side of the border frame is displayed.
below
-
Border on the bottom side of the table frame is displayed.
border
-
Borders on all sides of the table frame are displayed.
box
-
Borders on all sides of the table frame are displayed.
hsides
-
Borders on the top and bottom sides of the table frame are displayed.
lhs
-
Border on the left side of the table frame is displayed.
rhs
-
Border on the right side of the table frame is displayed.
vsides
-
Borders on the left and right sides of the table frame are displayed.
Examples
This example uses the FRAME attribute to render different border frames.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/frame.htm
<TABLE FRAME="above"> <TR><TD>A table with</TD><TD>the value of frame set to "above"</TD></TR> <TR><TD>cell</TD><TD>cell</TD></TR> </TABLE>
See also
Build date: 3/8/2012