table {table-layout:fixed;word-break:break-all;}其中table-layout:fixed;解决width不生效;word-bre..._bootstrap table 单元格不换行">
赞
踩
<!-- 此页面table表格设置width不生效解决办法,同时解决width生效后数据却不换行的问题 -->
<style type="text/css">table {table-layout:fixed;word-break:break-all;}</style>
其中table-layout:fixed;解决width不生效;
word-break:break-all;解决数据换行。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。