网站首页
高清电影
无损音乐
游戏攻略
电脑教程
破解资源
站长资源
软件下载
table中的超长字符串用省略号表示的css样式
(编辑:jimmy 日期: 2024/9/22 浏览:
2
)
效果如图
代码:
复制代码
代码如下:
<style>
table td{white-space:nowrap;overflow:hidden; text-overflow:ellipsis;}
table {table-layout:fixed;}
</style>
注意!给TD指定宽度(否则宽度自动分配,达不到理想的效果).
上一篇:
CSS行为expression轻松实现IE6无抖动固定定位
下一篇:
纯CSS3实现鼠标悬停提示气泡效果
最新资源
魔兽世界地心之战踏风武僧用什么饰品 地心之战踏
仙境传说新启航新手职业怎么选 仙境传说新手职业
魔兽世界地心之战酒仙武僧用什么饰品 地心之战酒
王菲.2001-《菲经典DSD》引进版[WAV+CUE]
【雨果唱版】民歌对唱《红英与唐彪LPCD45》2007
谷村新司-精选集立体声杂志Vol.4SACDISO
《崩坏3》八周年了!琪亚娜等角色送上美好祝福
《小朋友齐打交》真人电影预告公开 预计明年推出
《萨顶顶-华人首位获格莱美奖提名 怜香伴》[WAV
《极致真发烧·HIFI过耳不忘 3CD》[WAV/分轨][1.
首页
音乐
电影
资源