<style type="text/css">
.dt {table-layout:fixed; width:100px;}
.dt td, .dt th{white-space:nowrap;overflow:hidden;}
</style>
<table class="dt">
<tr>
<td>文字1文字2文字3文字4文字5文字6文字7文字文字文字</td>
</tr>
</table>
<style type="text/css">
.dt {table-layout:fixed; width:100px;}
.dt td, .dt th{white-space:nowrap;overflow:hidden;}
</style>
<table class="dt">
<tr>
<td>文字1文字2文字3文字4文字5文字6文字7文字文字文字</td>
</tr>
</table>
转载于:https://www.cnblogs.com/imbin/archive/2012/11/06/2756388.html

被折叠的 条评论
为什么被折叠?