日期:2014-05-18  浏览次数:20365 次

css 的问题.
.indextab
{
    border-color:#333333;
    border-collapse:   collapse;
    border-bottom-width:0px;
    border-left-width:1px;
    border-right-width:1px;
    border-top-width:0px;
}

<table   width= "964 "     cellpadding= "0 "   cellspacing= "0 "     border= "0 "   class= "indextab "   align= "center ">

为什么没效果呢?左和右两边没人边线..

------解决方案--------------------
你把td的颜色换下就行了。
------解决方案--------------------
你連TR,TD都沒有當然看不到效果啦,況且你的border=0了,怎麼看到啊?
<table width= "964 " cellpadding= "0 " cellspacing= "0 " border= "1 " align= "center ">
<tr>
<td class= "indextab ">
</td>
</tr>
</table>