表格边框以虚线显示的css样式
发布时间:2016-12-27 来源:查字典编辑
摘要:.table5{text-align:center;border:1pxsolid#cccccc;border-radius:3px;bac...
<style>
.table5{text-align:center; border:1px solid #cccccc; border-radius :3px; background-color:#FFFFFF; width:650px;}
.table5 td{border-bottom:1px dashed #cccccc;}
.table5 .last td{border-bottom:0;}
</style>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr >
<td colspan="4"> </td>
</tr>
<tr >
<td width="4%"><img src="images/greendot.jpg" width="4" height="4" /></td>
<td width="17%">萍水相逢</td>
<td width="63%" align="center">消费10个金币,对换10元手机费</td>
<td width="16%" align="center" valign="middle">2013.01.20</td>
</tr>
<tr>
<td ><img src="images/greendot.jpg" /></td>
<td>M萍水相MM</td>
<td align="center">消费500积分,对换500粉丝</td>
<td align="center" valign="middle">2013.01.20</td>
</tr>
<tr >
<td colspan="4"></td>
</tr>
</table>