table{ table-layout: fixed; } td{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
控制td中的内容多出td长度的部分用省略号表示
最新推荐文章于 2020-12-20 01:33:47 发布
table{ table-layout: fixed; } td{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }