frame attribute | frame property
Sets or retrieves the way the border frame around the table is displayed.
Syntax
| HTML | <element frame="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
-
Default. All outside table borders are removed.
-
Border on the top side of the border frame is displayed.
-
Border on the bottom side of the table frame is displayed.
-
Borders on all sides of the table frame are displayed.
-
Borders on all sides of the table frame are displayed.
-
Borders on the top and bottom sides of the table frame are displayed.
-
Border on the left side of the table frame is displayed.
-
Border on the right side of the table frame is displayed.
-
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