这次给大家带来table tr th 及table tr td 字体太多超出怎样用css解决,table tr th 及table tr td 字体太多的css的解决方法,下面就是实战案例,一起来看一下。
要比js控制性能好,但是在firfox低版本有时显示重叠加粗
table{ table-layout : fixed; }table tbody tr td,table tbody tr th{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
相信看了本文案例你已经掌握了方法,更多精彩请关注php中文网其它相关文章!
相关阅读:
以上就是table tr th 及table tr td 字体太多超出怎样用CSS解决的详细内容,更多请关注php中文网其它相关文章!
Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号