Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


FRAME Attribute | frame Property

Sets or retrieves the way the border frame around the table is displayed.

Syntax

HTML Scripting
<TABLE  FRAME = sFrame ... >
TABLE . frame [ = sFrame ]

Possible Values

sFrame String that specifies or receives one of the following values.
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.

The property is read/write. The property has a default value of void .

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .

Example

This example uses the FRAME attribute to render different border frames.

<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>

Standards Information

This property is defined in HTML 4.0 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

[ Object Name ] Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
TABLE
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.