表格 CSS(不換行) HTML 標籤的 nowrap 屬性

定義和用法

nowrap 屬性規定表格單元格中的內容不換行。

實例

帶有 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>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章