ITeye博客

CSS实现【表格内容超过一行的部分,用省略号代替】

blackchocolate · 2013-01-06 10:16 · css · Web前端 · CSS · Markdown

table{

  table-layout: fixed;

}

td{

  white-space: nowrap;   overflow: hidden;   text-overflow: ellipsis;

}

评论(0)

暂无评论。

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