最新国产好看的视频,伊人天堂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>
成都市| 治县。| 荆州市| 二连浩特市| 新竹市| 张家港市| 奉节县| 定边县| 霸州市| 曲阳县| 栾城县| 武功县| 瑞昌市| 防城港市| 贵德县| 若羌县| 徐汇区| 化隆| 盖州市| 孝义市| 宜丰县| 和平县| 赤壁市| 分宜县| 靖边县| 盐池县| 正定县| 集贤县| 崇仁县| 忻城县| 惠州市| 辽宁省| 项城市| 沙坪坝区| 泾川县| 灵璧县| 舞阳县| 南澳县| 邻水| 卓尼县| 锡林郭勒盟|