html table 的属性

表格table th,td 文字顶部对齐

<th valign="top"></th>
<td valign="top"></td>

cellpadding:规定单元边沿与其内容之间的空白。

cellspacing:规定单元格之间的空白

表格tr边框需要给table加一个属性

table{
      border-collapse: collapse;
   }

 

posted @ 2017-08-25 10:09  可落  阅读(482)  评论(0编辑  收藏  举报