固定宽度 + word-break: break-all;无效
方法一:td添加样式:word-break: break-all;white-space:normal;
<td width="300" style="word-break: break-all;white-space:normal">TomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTom</td>
方法二:table添加样式:word-break: break-all;
<table cellspacing="0" border="1" style="word-break: break-all;">
<thead>
<tr>
<td width="100">id</td>
<td>name</td>
<td width="100">age</td>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Alice</td>
<td>10</td>
</tr>
<tr>
<td>2</td>
<td width="300">TomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTomTom</td>
<td>8</td>
</tr>
<tr>
<td>3</td>
<td>Jerry</td>
<td>11</td>
</tr>
</tbody>
</table>