修改您的樣式表,找下邊這段(一般都在開頭)
a {
color:#3399FF;
font-weight:Normal; /*字型效果 普通 可以改成bold粗體*/
text-decoration:none; /*底線效果:無底線*/
}
a:hover {
color:#4499EE;
text-decoration:none; /*底線效果:無底線*/
border-bottom: 1px #0099CC dotted /*加一個只有下邊的框 邊框為虛線*/
}
a{}控制串連的效果 a:hover{}控制滑鼠移上去的效果。
一些CSS定義虛線執行個體代碼 <br /><style> table{width:200px;height:100px;} .table1{border:1px solid #6E6B85} .table2{border:1px solid #000 dotted} .table3{border-top:1px solid #f00 dotted;border-left:1px solid #f00 dotted;} .table3 td{border-right:1px solid #f00 dotted;border-bottom:1px solid #f00 dotted;} .table4 td{border:1px solid #f00 dotted;} </style><table class="table1"><tr align="center"><td>TD一</td><td>TD二</td></tr></table><table class="table2"><tr align="center"><td>TD一</td><td>TD二</td></tr></table><table class="table3"><tr align="center"><td>TD一</td><td>TD二</td></tr></table><table class="table4"><tr align="center"><td>TD一</td><td>TD二</td></tr></table><p>
[Ctrl+A 全選 注:如需引入外部Js需重新整理才能執行]
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br /><table width="150px" height="150px"><tr><td style="border-top:1px dotted buttonface"> haha</td><td style="border-top:1px dotted buttonface;border-left:1px dotted buttonface">haha</td></tr><tr><td style="border-top:1px dotted buttonface;border-bottom:1px dotted buttonface">haha</td><td style="border-top:1px dotted buttonface;border-left:1px dotted buttonface;border-bottom:1px dotted buttonface">haha</td></tr></table><p>