<style type="text/css">
table {
table-layout: fixed;
}
td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
</style>
样式图:
<style type="text/css">
table {
table-layout: fixed;
}
td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
</style>
样式图: