最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

RULES Attribute | rules Property

Internet Development Index

Sets or retrieves which dividing lines (inner borders) are displayed.

Syntax

HTML<TABLE RULES = sRule... >
ScriptingTABLE.rules [ = sRule ]

Possible Values

sRuleString that specifies or receives one of the following values.
allBorders are displayed on all rows and columns.
colsBorders are displayed between all table columns.
groupsHorizontal borders are displayed between all tHead, tBody, and tFoot objects; vertical borders are displayed between all colGroup objects.
noneAll interior table borders are removed.
rowsHorizontal borders are displayed between all table rows.

The property is read/write. The property has no default value.

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

Remarks

The value none turns off only the interior borders. To turn off the table borders, set the rules property to '', or omit the RULES attribute from the table object.

Examples

This example initially sets the RULES attribute on the table, and then uses the rules property to dynamically change the table borders.

<TABLE ID="oID_1" RULES="cols">
<THEAD>
<TR>
<TD>EST</TD><TD>1am</TD><TD>8pm</TD>
</TR>
</THEAD>
<TR>
<TD>CST</TD><TD>2am</TD><TD>9pm</TD>
</TR>
<TR>
<TD>MST</TD><TD>3am</TD><TD>10pm</TD>
</TR>
<TFOOT>
<TR>
<TD>PST</TD><TD>4am</TD><TD>11pm</TD>
</TR>
</TFOOT>
</TABLE>
<P>
<BUTTON onclick="oID_1.rules=''">No borders</BUTTON>
<BUTTON onclick="oID_1.rules='none'">Exterior border</BUTTON>
<BUTTON onclick="oID_1.rules='all'">All borders</BUTTON><BR>
<BUTTON onclick="oID_1.rules='cols'">Column borders</BUTTON>
<BUTTON onclick="oID_1.rules='groups'">Groups borders</BUTTON>
<BUTTON onclick="oID_1.rules='rows'">Table row borders</BUTTON>
</P>
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.

In this example, the table object contains the RULES attribute set to cols and the border attribute set to an empty string (""). This example demonstrates that if the RULES attribute is set to an empty string (""), the border attribute will cause the table to show all borders, trumping the RULES attribute.

<TABLE ID="oID_1" BORDER="" RULES="cols">
<THEAD>
<TR>
<TD>EST</TD><TD>1am</TD><TD>8pm</TD>
</TR>
</THEAD>
<TR>
<TD>CST</TD><TD>2am</TD><TD>9pm</TD>
</TR>
<TR>
<TD>MST</TD><TD>3am</TD><TD>10pm</TD>
</TR>
<TFOOT>
<TR>
<TD>PST</TD><TD>4am</TD><TD>11pm</TD>
</TR>
</TFOOT>
</TABLE>
<P>
<BUTTON onclick="oID_1.rules=''">No borders</BUTTON>
<BUTTON onclick="oID_1.rules='none'">Exterior border</BUTTON>
<BUTTON onclick="oID_1.rules='all'">All borders</BUTTON><BR>
<BUTTON onclick="oID_1.rules='cols'">Column borders</BUTTON>
<BUTTON onclick="oID_1.rules='groups'">Groups borders</BUTTON>
<BUTTON onclick="oID_1.rules='rows'">Table row borders</BUTTON>
</P>
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 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TABLE

See Also

frame
普陀区| 荔浦县| 双峰县| 洪江市| 云浮市| 巴东县| 武强县| 卓尼县| 肃宁县| 尖扎县| 铜陵市| 黔东| 东光县| 襄樊市| 琼海市| 营山县| 黄平县| 揭西县| 克山县| 伊川县| 鄂伦春自治旗| 通山县| 通辽市| 益阳市| 萍乡市| 洛南县| 富阳市| 天门市| 淮南市| 壶关县| 湘乡市| 丰原市| 同仁县| 吉安县| 和平区| 莆田市| 南宫市| 邵阳县| 依兰县| 元氏县| 新巴尔虎左旗|