分类
WEB++技术

table 英文换行

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>
    <style type="text/css">
    table{border-collapse:collapse;width:300px; background:#FF0000;table-layout:fixed}
    td{word-break:break-all;height:100px;word-wrap:break-word}
 
    </style>
    </head>
 
    <body>
    <table>
            <tr>
                <td style="width:100px;background:#960">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</td>
            <td></td>
        </tr>
    </table>
    </body>
    </html>

unicac

...long long ago,he have a dream.

发表评论

邮箱地址不会被公开。 必填项已用*标注