bootstrap内容太多表格撑破
增加样式 style="word-break:break-all; word-wrap:break-all;"
这样内容就会自动换行,表格就美观多了。
<table class="table table-bordered table-hover table-striped" style="word-break:break-all; word-wrap:break-all;"> <thead> <tr> <th>变量名 <i class="fa fa-sort"></i></th> <th>值</th> </tr> </thead> <tbody> <#list systemPro.keySet() as key> <tr> <td style="width:150px;">${key}</td> <td>${systemPro.get(key)}</td> </tr> </#list> </tbody> </table>