欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

HTML DOM borderSpacing 屬性

HTML DOM Style 對象參考手冊

定義和用法

borderSpacing 屬性相鄰單元格的邊框之間的距離(僅用于“邊框分離”模式)。

語法:

Object.style.borderSpacing=length,length

可能的值

描述
length length 使用 px、cm 等單位定義距離。如果定義一個 length 參數(shù),那么定義的是水平和垂直間距。如果定義了兩個 length 參數(shù),那么第一個設(shè)置水平間距,而第二個設(shè)置垂直間距。length 不能為負值。

實例

本例設(shè)置相鄰單元格的邊框之間的距離:

<html>
<head>
<script type="text/javascript">
function changeBorderSpacing()
{
document.getElementById('myTable').style.borderSpacing="10px"
}
</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>

<input type="button" onclick="changeBorderSpacing()" 
value="Change border spacing">

</body>
</html>

TIY

borderSpacing - 改變相鄰單元格的邊框之間的距離(請在非 IE 瀏覽器中查看)

HTML DOM Style 對象參考手冊