ITeye博客

CSS 截取字符串长度以...代替

angkorpeach · 2009-06-19 16:13 · CSS · Markdown

.newcss{
   width:200px;
   white-space:nowrap;
   word-break:keep-all;
   overflow:hidden;
   text-overflow:ellipsis;

   border:1px solid #D4D4D4
}

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。