摘要: 做table表格时,某一列字数比较多,希望超出宽度的部分以省略号显示 设置table的布局 默认automatic 以表格内容显示相应宽度 改成fixed 以表格列宽显示内容 table{ table-layout: fixed;} 在需要设置列加上 <td style="white-space:n 阅读全文
posted @ 2018-04-21 17:04 此地 阅读(5734) 评论(0) 推荐(0) 编辑