日期:2014-05-17  浏览次数:20641 次

4行CSS实现表格内容超过一行的部分,用省略号代替
Html代码 
  1. table{  
  2.   
  3.   table-layout: fixed;  
  4.   
  5. }  
  6.   
  7. td{  
  8.   
  9.   white-space: nowrap;  
  10.   overflow: hidden;  
  11.   text-overflow: ellipsis;  
  12.