我知道有類似的問題,但我希望對我的特定代碼進行一些輸入。HTML中的圖像 - HTML表格中的行之間的間隔
我有我已經切成9張圖像,並創建了一個3x3的HTML表格來顯示它。
但我的表中獲取行之間的空間,但列之間沒有空格。我沒有使用任何CSS。
任何幫助?
下面的代碼:
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><img src="/storage/Slice-1.jpg" border="0" alt="" /></td>
<td><img src="/storage/Slice-2.jpg" border="0" alt="" /></td>
<td><img src="/storage/Slice-3.jpg" border="0" alt="" /></td>
</tr>
<tr>
<td><img src="/storage/Slice-4.jpg" border="0" alt="" /></td>
<td><img src="/storage/Slice-5.jpg" border="0" alt="" /></td>
<td><img src="/storage/Slice-6.jpg" border="0" alt="" /></td>
</tr>
<tr>
<td><img src="/storage/Slice-7.jpg" border="0" alt="" /></td>
<td><img src="/storage/Slice-8.jpg" border="0" alt="" /></td>
<td><img src="/storage/Slice-9.jpg" border="0" alt="" /></td>
</tr>
</tbody>
</table>
你需要的行和列之間的間距? – RAWhoLovesMusic 2011-01-24 04:06:01