1. table标签加
style="table-layout:fixed"
2. 定义 class="trimText",如下:
.trimText {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
1. table标签加
style="table-layout:fixed"
2. 定义 class="trimText",如下:
.trimText {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
转载于:https://my.oschina.net/mazhongchao/blog/119882