默认情况下的表格边框比较宽,这里可以使用border-collapse:collapse;实现单线表格,看实例代码
<style type="text/css"> .table{border:1px #000 solid;border-collapse:collapse;} .table tr td{border:1px #000 dotted;} </style> <table class="table" width="750" cellspacing="0"> <tr> <td width="80">1</td> <td>2</td> <td>3</td> <td>4</td> </tr> <tr > <td>1</td> <td>2</td> <td>3</td> <td>4</td> </tr> <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> </tr> <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> </tr> </table>