table 英文字符不换行,撑破表格.
style= “word-break:break-all;word-wrap:break-word”
eg:
<table class="table table-condensed" style= "word-break:break-all;word-wrap:break-word" >
<thead>
<tr role="row">
<th align="center" style = "width:5%">ID</th>
<!-- <th>Project</th> -->
<th align="center" style = "width:15%">Component</th>
<th align="center" style = "width:10%">AccessAttr</th>
<th align="center" style = "width:15%">EnvName</th>
<th align="center" style = "width:35%">Environment</th>
<th align="center" style = "width:8%">Status</th>
<!-- <th>Username</th> -->
<th align="center" style = "width:10%">Action</th>
</tr>
</thead>
</table>
ID | Component | AccessAttr | EnvName | Environment | Status | Action |
---|