If I have
8条回答 醉梦人生 (楼主) 2021-01-02 13:52 I have managed to do this without fixed table layout. The cell's css: .dataCell { display: table-cell; padding: 2px 15px 2px 15px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: auto; max-width: 1px; } 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
I have managed to do this without fixed table layout. The cell's css:
.dataCell { display: table-cell; padding: 2px 15px 2px 15px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: auto; max-width: 1px; }