日期:2014-05-20  浏览次数:20858 次

如何让jsp中让表头大小固定?
<td width="8%" nowrap title="点击进行排序" >
备注  
<img style="DISPLAY: none" src="images/arrow_up.gif" />
</td>

我这样做了限制,可是好像没什么用,还有什么别的办法吗?

------解决方案--------------------
不要用百分比固定宽度, 使用实际数值: width="20";
------解决方案--------------------
HTML code
<table  border=1>
<tr>
    <td width="500" nowrap>111</td>
    <td width="1000" nowrap>222</td>
</tr>
</table>

------解决方案--------------------
看错了,你只有一列。
只需要写第一行的就可以了
------解决方案--------------------
还是拿分哈哈