使表格随着内容自适应宽度

td{  
 white-space: nowrap;  
} 

  简单粗暴。

posted @ 2018-01-24 09:52  红枣味酸奶  阅读(276)  评论(0编辑  收藏  举报