不再让内容把td撑开

<style type="text/css">
    table {width:600px;table-layout:fixed;}
    td {white-space:nowrap;overflow:hidden;word-break:keep-all;text-overflow:ellipsis}
</style>
<table border=1 >
    <tr>
        <td width="30%">dd</td>
        <td>ddddddddddddddddddddddddddddddfsljdflsajufiajklsjadflkjsalkfdjdsklajdflksajflksajfdlkdsjdflksjfjldskajdflksajflskajf</td>
        <td width="30%">dd</td>
    </tr>
</table>
原文地址:https://www.cnblogs.com/hailspace/p/3167604.html