Contents ...
udn網路城邦
表格-11《表格-table》屬性常用的有10種(此同時用七種)
2008/05/28 05:18
瀏覽1,771
迴響0
推薦1
引用0

這裡文字有顏色
程式是紅字的可以改
試試看吧

表格-11《表格-table》屬性常用的有10(此同時用七種)

●表格屬性:
1.
表格邊框線厚度《table border="15"
2.
表格內框線厚度《cellspacing="20"
3.
資料與框線距離《cellpadding="15"
4.
表格寬度
5.
表格高度
6.
表格位置(左中右)
7.
表格背景顏色《bgcolor="#006666"
8.
表格亮框顏色《bordercolorlight="red"
9.
表格暗框顏色《bordercolordark=" green"
1.
表格背景圖片
附:儲存格文字顏色th style="color:red"
………………………………………………………………
●注意事項:
1.
前三種為表格全體專用
2.
第四種以後亦為th/td使用
3.456
看情形使用
4.
顏色與圖片背景原不能同時使用
5.
邊框與明暗色不宜同時用
程式:
<table border="15" cellspacing="20" cellpadding="15" bordercolorlight="red" bordercolordark="green" bgcolor="#006666">

<h3>
<tr><th style="color:red">
這裡文字有顏色</th><TR>
<th style="color:red">
程式是紅字的可以改
</th></TR><TR>
<th style="color:red">
試試看吧
</th>
</tr>

</h3>
</table>
………………………………………………………………

有誰推薦more

限會員,要發表迴響,請先登入