www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 frame Property
FRAME Attribute | frame Property

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

Syntax

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

Possible Values

sFrameString that specifies or receives one of the following values.
voidDefault. All outside table borders are removed.
aboveBorder on the top side of the border frame is displayed.
belowBorder on the bottom side of the table frame is displayed.
borderBorders on all sides of the table frame are displayed.
boxBorders on all sides of the table frame are displayed.
hsidesBorders on the top and bottom sides of the table frame are displayed.
lhsBorder on the left side of the table frame is displayed.
rhsBorder on the right side of the table frame is displayed.
vsidesBorders 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>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

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

Applies To

TABLE

See Also

rules
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG