效果:
代码:
<html>
<body>
<table border="1" width="500px" style="table-layout: fixed">
<tr>
<td style="text-overflow:ellipsis; overflow: hidden;">12333333333333333333</td>
<td style="text-overflow:ellipsis; overflow: hidden;">123333333333333333333333333333333333</td> <td style="text-overflow:ellipsis; overflow: hidden;">123333333333333333333333333333333333</td>
<td style="text-overflow:ellipsis; overflow: hidden;">123333333333333333333333333333333333</td>
<td style="text-overflow:ellipsis; overflow: hidden;">123333333333333333333333333333333333</td>
</tr>
</table>
</body>
</html>