nowrap 属性规定表格单元格中的内容不换行。
CSS 语法:<td style="white-space: nowrap">
案例:
- <table border="1">
- <tr>
- <th>Poem</th>
- <th>Poem</th>
- </tr>
- <tr>
- <td nowrap="nowrap">Never increase, beyond what is necessary, the
- number of entities required to explain anything</td>
- <td>Never increase, beyond what is necessary, the number of entities
- required to explain anything</td>
- </tr>
- </table>
复制代码
|
|