首页
高清电影
无损音乐
游戏攻略
电脑教程
破解资源
站长资源
软件下载
当前位置:
首页
>>
网页制作
table中的超长字符串用省略号表示的css样式
编辑:jimmy
日期: 2024/9/22 浏览:1 次
效果如图
代码:
复制代码
代码如下:
<style>
table td{white-space:nowrap;overflow:hidden; text-overflow:ellipsis;}
table {table-layout:fixed;}
</style>
注意!给TD指定宽度(否则宽度自动分配,达不到理想的效果).
最新资源
【雨果唱版】民歌对唱《红英与唐彪LPCD45》2007
谷村新司-精选集立体声杂志Vol.4SACDISO
《崩坏3》八周年了!琪亚娜等角色送上美好祝福
《小朋友齐打交》真人电影预告公开 预计明年推出
《萨顶顶-华人首位获格莱美奖提名 怜香伴》[WAV
《极致真发烧·HIFI过耳不忘 3CD》[WAV/分轨][1.
《流行HIFI摇滚音乐 摇滚在发烧 2CD》[WAV/分轨
没有才能.2024-我终于也变成人了【华研国际】【
张国荣.1995-宠爱(2014年K2HD限量版)【滚石】【
林姗.2009-个人精选集【芮河】【WAV+CUE】