日期:2014-05-17  浏览次数:20762 次

去掉单元格左右上边框-------------在线等
<table   style= 'table-layout:fixed '   border=1   halign=center   bordrColor=#ffffff   borderColorDark=#ffffff   borderColorLight=#000000   cellSpacing=0   cellPadding=0>
    <tr>
        <td   width= "50% "   style= "border-left:none;border-right:none;border-top:none; "> 11111111111111 </td>
    </tr>
    <tr>
        <td   width= "50% "   > 22222222222222 </td>
    </tr>
</table>


为什么
style= "border-left:none;border-right:none;border-top:none; "只有右边无边框?左上还有

------解决方案--------------------
<table border= "0 " cellpadding= "0 " cellspacing= "0 ">
<tr>
<td style= "width:50%;border-bottom:1px solid #000; "> 11111111111111 </td>
</tr>
<tr>
<td> 22222222222222 </td>
</tr>
</table>
------解决方案--------------------
<table border= "0 " bordercolor= "#000000 " cellSpacing= "0 " cellPadding= "0 ">
<tr>
<td> 11111111111111 </td>
</tr>

<tr>
<td style= "border: 1px solid #000000; "> 22222222222222 </td>
</tr>
</table>
------解决方案--------------------
<style>
table{
border-collapse:collapse;
}
#no2 td{
border:1px solid #33FF66;
}
</style>


<table cellpadding= "0 " cellspacing= "0 ">
<tr>
<td> 1121212 </td>
</tr>
<tbody id= "no2 ">
<tr>
<td> 1121212 </td>
</tr>
<tr>
<td> 1121212 </td>
</tr>
<tr>
<td> 1121212 </td>
</tr>
<tr>
<td> 1121212 </td>
</tr>
</tbody>
</table>