|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
細線表格的細節?
按照以下方法能做出細線表格,但是細線表格是黑色的,要如何控制細線表格的顏色?
比如說我想變把邊框變成白色的該如何做?
<table width="200" cellspacing="0" cellpadding="0">
<tr align="center">
<td style="BORDER-top: rgb(0,0,0) 1px dotted; BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-left: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted">細</td>
<td style="BORDER-top: rgb(0,0,0) 1px dotted; BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted">表</td>
</tr>
<td style="BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-left: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted">線</td>
<td style="BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted">格</td>
</tr>
</table> |
細線表格的方法很多,先看置頂的教程!
給你貼個:
[html]
<table width="200" cellspacing="1" cellpadding="0" bgcolor=red>
<tr align="center" bgcolor=white>
<td>細</td>
<td>表</td>
</tr>
<tr bgcolor=white>
<td>線</td>
<td>格</td>
</tr>
</table>
[/html]
|
rgb(0,0,0)決定顏色,白色是rgb(255,255,255)
這種細線表格做起來太吃力了 |
<td style="BORDER-top: #FFFFFF 1px dotted; BORDER-bottom: #FFFFFF 1px dotted; BORDER-left: #FFFFFF 1px dotted; BORDER-right: #FFFFFF 1px dotted">細</td> |
[html]<table width="400" border="1" cellpadding="0" cellspacing="0" bordercolor="#e2e2e2" style="border-collapse:collapse">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
[/html] |
這不是細線表格,這是用淺色線造成視覺欺騙,以為它細。 |
是細線啊````````` |
|