关于TH固定长度问题,在线等

tdy1234 2011-01-04 03:13:15
<th width=50px><center><%= StringUtil.getMapValue(linguist, "January") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "February") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "March") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "April") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "May") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "June") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "July") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "August") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "September") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "October") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "November") %></center></th>
<th width=50px><center><%= StringUtil.getMapValue(linguist, "December") %></center></th>

这样一段代码,我需要固定死每个TH的长度,但是我发现现在这种写法在不同的屏幕上由于屏幕宽度的问题可能会超出宽度,超出的部分会出现一些放缩,后面需要根据长度来画图,想问问各位有没有办法将长度定死,比较急 在线等
...全文
161 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
tdy1234 2011-01-04
  • 打赏
  • 举报
回复
没人知道吗

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧