.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代码
最新推荐文章于 2021-01-17 14:19:41 发布
.MMTab {table-layout: fixed;width: 100%;}
.MMTab td {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;padding: 0px;height: 25px;}
table { table-layout: fixed; }