FRAME Attribute | frame Property

MS Office DHTML, HTML & CSS

FRAME Attribute | frame Property


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

Syntax

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

Possible Values

sFrame String that specifies one of the following values:
voidAll 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 with 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 dynamic propertiesInternet Link.

Example

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

Sample Code

<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 Internet Explorer 4.0 or later. Click the icon below to install the latest version. Then reload this page to view the sample.
Microsoft Internet Explorer

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.

TABLE

See Also

rules


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.