<td>内容超出自动换行 解决办法

td 内容自动换行 table表格td设置宽度后文字太多自动换行 解决办法

解决方法:
设置table 的 style="table-layout:fixed;" 然后设置td的 style="word-wrap:break-word;" 即可

        #diffoutput table{
            table-layout:fixed;
            /*td换行*/
        }

<td>内容超出自动换行 解决办法

原创文章,作者:星辰,如若转载,请注明出处:http://www.z88j.com/434.html

(5)
打赏 微信扫一扫 微信扫一扫
上一篇 2021年8月29日 下午7:20
下一篇 2021年9月16日 上午11:53

发表回复

登录后才能评论

Warning: error_log(/www/wwwroot/www.z88j.com/wp-content/plugins/spider-analyser/#log/log-0216.txt): failed to open stream: No such file or directory in /www/wwwroot/www.z88j.com/wp-content/plugins/spider-analyser/spider.class.php on line 2900