windk

css 截取字符串 省略号代替多余部分 完美截取 不出现半个字 跨浏览器 通用

.subject {width:400px;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;}

posted on 2011-10-09 15:04  windk  阅读(636)  评论(0)    收藏  举报

导航