下面的例子規(guī)定只有圍繞表格的邊框是可見的:
<table frame="box"
>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
除了 Internet Explorer,其他瀏覽器都支持 frame 屬性。
注釋:Internet Explorer 以不正確的方式來顯示該屬性。IE 同時會顯示表格內(nèi)單元格的邊框(而不僅僅是外側(cè)邊框)。
注釋:Safari 2.0 或更早的版本不支持該屬性。
<body frame="value">
值 | 描述 |
---|---|
void | 不顯示外側(cè)邊框。 |
above | 顯示上部的外側(cè)邊框。 |
below | 顯示下部的外側(cè)邊框。 |
hsides | 顯示上部和下部的外側(cè)邊框。 |
vsides | 顯示左邊和右邊的外側(cè)邊框。 |
lhs | 顯示左邊的外側(cè)邊框。 |
rhs | 顯示右邊的外側(cè)邊框。 |
box | 在所有四個邊上顯示外側(cè)邊框。 |
border | 在所有四個邊上顯示外側(cè)邊框。 |
如對本文有疑問,請?zhí)峤坏浇涣髡搲?,廣大熱心網(wǎng)友會為你解答??! 點擊進入論壇
Powered by 365建站網(wǎng) RSS地圖 HTML地圖
copyright © 2013-2024 版權(quán)所有 鄂ICP備17013400號