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

HTML DOM rules 屬性

定義和用法

rules 屬性可設(shè)置或返回表格的內(nèi)部邊線。

語法

tableObject.rules=none|groups|rows|cols|all

實例

下面的例子設(shè)置了表格的兩種不同的內(nèi)部邊線:

<html>
<head>
<script type="text/javascript">
function rowRules()
  {
  document.getElementById('myTable').rules="rows"
  }
function colRules()
  {
  document.getElementById('myTable').rules="cols"
  }
</script>
</head>
<body>

<table id="myTable" border="1">
<tr>
<td>Row1 cell1</td>
<td>Row1 cell2</td>
</tr>
<tr>
<td>Row2 cell1</td>
<td>Row2 cell2</td>
</tr>
<tr>
<td>Row3 cell1</td>
<td>Row3 cell2</td>
</tr>
</table>
<br />
<input type="button" onclick="rowRules()"
value="Show only row borders">
<input type="button" onclick="colRules()"
value="Show only col borders">

</body>
</html>
会宁县| 瑞昌市| 万州区| 高阳县| 当涂县| 道孚县| 宁城县| 石家庄市| 河南省| 梅河口市| 永丰县| 堆龙德庆县| 那曲县| 东海县| 乌苏市| 防城港市| 宜昌市| 简阳市| 博罗县| 青田县| 曲麻莱县| 凌海市| 贵州省| 分宜县| 集贤县| 湖口县| 达州市| 荣昌县| 枣庄市| 句容市| 杭州市| 专栏| 宁南县| 辽宁省| 三台县| 浮山县| 荔波县| 山阳县| 博野县| 东阳市| 敦化市|