.MMTab {table-layout: fixed;width: 100%;}
.MMTab td {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;padding: 0px;height: 25px;}
table { table-layout: fixed; }
超过表格宽度用“...”代替的CSS代码
最新推荐文章于 2020-03-18 19:23:17 发布
.MMTab {table-layout: fixed;width: 100%;}
.MMTab td {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;padding: 0px;height: 25px;}
table { table-layout: fixed; }