一个表单的第一列宽度的控制问题.现在的问题是这个表单当中还嵌入了一个类似搜索网站的显示页码的表单.在最下面.根据搜索结果显示相关总的页面数,比如有75页就显示1到75的数字,点击后直接跳到对应页面.现在困惑的是,如果是10几页的时候还好,表单宽度不会动.但是当数据过多的时候,比如70,80页的时候,表单的宽度会自动变长,所以第一列的宽度会变化.现在想要把第一列的宽度固定下来..各位知不知道有什么好的方法??谢谢了. 代码在下面.中间两个col写*也不行啊...<table width="100%" border="0" cellspacing="0" cellpadding="3">
<colgroup><col width="75"></colgroup>
<colgroup><col width="165"></colgroup>
<colgroup><col width="165"></colgroup>
<colgroup><col width="60"></colgroup>
<tr>
<td class="list-title-top-snss" align="center" nowrap>学号</td>
<td class="list-title-top-snss" align="center" nowrap>姓名</td>
<td class="list-title-top-snss" align="center" nowrap>性别<td>
</tr>
<tr>
<td class="list-title-top-snss" align="center" nowrap><%= rec.getKCd() %></td>
<td class="list-title-top-snss" align="center" nowrap><%= rec.getKName() %></td>
<td class="list-title-top-snss" align="center" nowrap><%= rec.getKSe() %><td>
</tr> <table>显示页码的代码</talbe>
</table>
<colgroup><col width="75"></colgroup>
<colgroup><col width="165"></colgroup>
<colgroup><col width="165"></colgroup>
<colgroup><col width="60"></colgroup>
<tr>
<td class="list-title-top-snss" align="center" nowrap>学号</td>
<td class="list-title-top-snss" align="center" nowrap>姓名</td>
<td class="list-title-top-snss" align="center" nowrap>性别<td>
</tr>
<tr>
<td class="list-title-top-snss" align="center" nowrap><%= rec.getKCd() %></td>
<td class="list-title-top-snss" align="center" nowrap><%= rec.getKName() %></td>
<td class="list-title-top-snss" align="center" nowrap><%= rec.getKSe() %><td>
</tr> <table>显示页码的代码</talbe>
</table>
解决方案 »
- 关于Lucene 增量索引的效率问题!
- 关于ajax导入excel文件到数据库
- 图片按钮问题
- 大家来讨论下response.sendRedirect()和request.getRequestDispatcher().forward(request,response)的区别
- 急!请问为什么我一装上oracle9i后 TomCat就起不来了?高手指点!!??
- 中文文件可以下载,但是文件名不对,有乱码。
- 各位高手们,救命啊!两天交活,再线等!
- 急。一个非常简单问题。。
- 关于顺风webservice接口使用
- 企业的网站如何实现与新浪维博授权绑定?
- 求一个replace的写法,去掉html中的链接
- jbuilder和eclipse哪个好?
不行....那个leader非要全部显示.