說我有如下表:跳過在HTML表格
<table>
<tr>
<td>Example</td>
</td>One</td>
</tr>
<tr>
<td>Example</td>
</td>Two</td>
</tr>
<tr>
<td>Example</td>
</td>Three</td>
</tr>
<tr>
<!--
Here I want to skip the first <td> cell; use only second. Example:
<td>(empty, possibly )</td>
<td>blah blah blah</td>
-->
</tr>
</table>
如果你看了我的最後一排的評論,你可以看到,在最後一排我想在第二列中顯示的東西表中,剩下的第一個空。我會如何去做這件事?
作爲一個附註,我讀了this SO question中的問題/答案,但colspan與我想要的不同。我也不熟悉css empty-cell
,所以如果這是一個解決方案,請提供一些示例代碼。
您是否嘗試過自己的建議?沒有理由''或' '不應該工作,除非你已經嘗試過,並沒有得到想要的結果。 – sellmeadog 2012-07-24 23:19:50
可能的重複[是否將 放入空的?](http://stackoverflow.com/questions/2506342/is-it-good-to-put-a-nbsp-inside-an-empty -td) – 2012-07-25 04:51:48
如您所見,問題是重複的。改進現有問題的答案比產生重複更好。解釋真正的目的和內容可能有助於獲得更好的答案。 – 2012-07-25 04:53:51