CSS问题 怎么设置表格的每一列的宽度一都样 表格的列数是随机的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <style>table td{ white-space:nowrap; overflow:hidden;}</style><table style="width:200px; table-layout:fixed;" border="1"><tr><td>111132131211111111321321321321</td><td>111111111</td><td>222222222</td><td>2222222</td><td>33333333333333</td></td></table> 直接在css里头定义td的宽度,用绝对的长度定义。例如 td {width:100px }试试 <style type="text/css"> table{table-layout:fixed;} </style> 用jquery$("tr:first").find("td").css("width","100px"); 一个防AS写的程序里的 timeInfo jquery实现的经典模式幻灯片效果 如何删除getElementsByTagName的到的数组中的元素? JS如何传递参数? 问一个窗体事件 javascript启动MSN问题 innerHTML里面的url地址解析问题,已有解决方案 急!!!问:用js实现形如csdn左边的框架中的节点 如何实现页面的自动刷新 如何点击button按钮,激活gridpanel,使其数据显示出来 请教个问题!$$.getSingle(".imgArea > p") javascript变量作用域的问题(困惑)
table td{ white-space:nowrap; overflow:hidden;}
</style>
<table style="width:200px; table-layout:fixed;" border="1">
<tr>
<td>111132131211111111321321321321</td>
<td>111111111</td>
<td>222222222</td>
<td>2222222</td>
<td>33333333333333</td>
</td>
</table>
table{table-layout:fixed;}
</style>
$("tr:first").find("td").css("width","100px");