亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

HTML DOM borderCollapse 屬性

HTML DOM Style 對象

定義和用法

borderCollapse 屬性設(shè)置表格的邊框是否被合并為一個(gè)單一的邊框,還是象在標(biāo)準(zhǔn)的 HTML 中那樣分開顯示。

語法:

Object.style.borderCollapse=collapse|separate

可能的值

描述
separate 邊框會(huì)被分開。
collapse 默認(rèn)。如果可能,邊框會(huì)被合并為一個(gè)單一的邊框。

實(shí)例

下面的例子合并表格邊框:

<html>
<head>
<script type="text/javascript">
function setBorderCollapse()
{
document.getElementById('myTable').style.borderCollapse="collapse"
}
</script>
</head>
<body>

<table border="1" id="myTable">
  <tr>
    <td>100</td>
    <td>200</td>
  </tr>
  <tr>
    <td>300</td>
    <td>400</td>
  </tr>
</table>
<br />
<input type="button" onclick="setBorderCollapse()"
value="Collapse border">

</body>
</html>

HTML DOM Style 對象