在html文件中添加如下代码:
<style type="text/css">
table td{word-break: keep-all;white-space:nowrap;}
table th{word-break: keep-all;white-space:nowrap;}
</style>
在html文件中添加如下代码:
<style type="text/css">
table td{word-break: keep-all;white-space:nowrap;}
table th{word-break: keep-all;white-space:nowrap;}
</style>
转载于:https://www.cnblogs.com/zifeiy/p/9412991.html