当前位置: 代码迷 >> HTML/CSS >> CSS中border-left border-right的几个小问题(好急)
  详细解决方案

CSS中border-left border-right的几个小问题(好急)

热度:571   发布时间:2012-03-20 14:01:11.0
CSS中border-left border-right的几个问题(好急)
<table   cellspacing= "0 "   cellpadding= "0 "   align= "center "   border= "1 "   width= "640 ">
<tr   height= "25 ">
<td>
<div   align= "center "> 2007-02-14 </div>
</td> <td>
<div   align= "center "> 23 </div>
</td> <td>
<div   align= "center "> 200 </div>
</td> <td>
<div   align= "center "> 150 </div>
</td> <td>
<div   align= "center "> 300 </div>
</td> <td>
<div   align= "center "> 600 </div>
</td> <td>
<div   align= "center "> 308 </div>
</td> <td>
<div   align= "center "> 542 </div>
</td> <td>
<div   align= "center "> 34990 </div>
</td> <td>
<div   align= "center "> 2341 </div>
</td> <td>
<div   align= "center "> 2340 </div>
</td> <td>
<div   align= "center "> 90 </div>
</td>
</tr>
<tr   height= "25 ">
<td>
<div   align= "center "> 2007-02-14 </div>
</td> <td>
<div   align= "center "> 23 </div>
</td> <td>
<div   align= "center "> 200 </div>
</td> <td>
<div   align= "center "> 150 </div>
</td> <td>
<div   align= "center "> 300 </div>
</td> <td>
<div   align= "center "> 600 </div>
</td> <td>
<div   align= "center "> 308 </div>
</td> <td>
<div   align= "center "> 542 </div>
</td> <td>
<div   align= "center "> 34990 </div>
</td> <td>
<div   align= "center "> 2341 </div>
</td> <td>
<div   align= "center "> 2340 </div>
</td> <td>
<div   align= "center "> 90 </div>
</td>
</tr>
</table>
请问下我如何把第二个 <tr> <td> -- </td> </tr> 中左边的border去除成透明的?我定义的CSS中border-left   border-right都没有用   请问下高手我如何定义?很急啊     我现在搞了很久都没有搞出来。

------解决方案--------------------
在不改原始代码的情况下:

<style type= "text/css ">
table,tr,td {border:none;}
td {border-bottom:1px solid #000;}
</style>
  相关解决方案