table自适应大小,以及内容换行

在table的样式中加入以下两个样式:

  table-layout: fixed;
  word-wrap:break-word;

posted @ 2019-01-30 15:19  明年六月  阅读(863)  评论(1编辑  收藏  举报