huhuixin

table{  

    table-layout:fixed;/* 只有定义了表格的布局算法为fixed,下面td的定义才能起作用。 */  

}  

td{

text-align:center;

    word-break:keep-all;/* 不换行 */  

    white-space:nowrap;/* 不换行 */  

    overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */  

    text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用*/  

}

分类:

技术点:

相关文章:

  • 2022-02-17
  • 2021-11-26
  • 2021-12-25
  • 2021-12-04
  • 2022-12-23
  • 2022-02-28
  • 2022-02-01
  • 2022-02-23
猜你喜欢
  • 2022-01-07
  • 2022-02-01
  • 2021-06-12
  • 2021-12-18
  • 2021-12-27
  • 2022-02-07
  • 2021-11-28
相关资源
相似解决方案