隐藏某一行这个相对简单点,但是隐藏某一列感觉写起来很复杂啊
html:
<table>
<tr>
<td>col 1</td>
<td>col 2</td>
<td>col 3</td>
<td>col 4</td>
</tr>
<tr>
<td>col 1</td>
<td>col 2</td>
<td>col 3</td>
<td>col 4</td>
</tr>
<tr>
<td>col 1</td>
<td>col 2</td>
<td>col 3</td>
<td>col 4</td>
</tr>
<tr>
<td>col 1</td>
<td>col 2</td>
<td>col 3</td>
<td>col 4</td>
</tr>
</table>
css:
table {
margin: 10px;
}
td {
border: 1px solid #396;
padding: 10px;
}
http://jsfiddle.net/zNZN7/