因为我要指定border为1,可是发现有一个问题就是当我对应那列没有数据时就会出现td边框是0的情况,其实这只要在之间加一个%nbsp;就可以了,nice it:) <td width=”56″ class=”style5″> %nbsp;<%= product.price %></td>