我試圖做一個很好看的ebay列表,雖然html看起來不錯,但ebay之外,表格似乎打破和mis-align後被預覽/發佈易趣在ebay列表上沒有正確對齊的HTML/CSS表格
這是它看起來像預覽在Chrome
這是它看起來像預覽在易趣預覽框中
當然,這並不是完整的清單,但除了那些部分外,其他所有東西似乎都是正確對齊的。
<table id="Table1" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="8">
<img src="http://i.imgur.com/K2yWDPk.png" width="920" height="25" border="0" alt="Top Shadow">
</td>
</tr>
<tr>
<td rowspan="2" colspan="2">
<a href="STORELINK">
<img src="http://i.imgur.com/5u3mlVA.png" border="0" alt="Logo" width="230" height="100">
</a>
</td>
<td colspan="2" rowspan="2" border="0">
<img src="http://i.imgur.com/LkCBdLv.png" height="100" width="230">
</td>
<td colspan="4" background="http://i.imgur.com/4xTnFGE.png" width="460" height="50">
<div id="Table1Links">
<a href="STORELINK">Store</a>
</div>
</td>
</tr>
<tr>
<td colspan="4" background="http://i.imgur.com/Mm6XcLE.png" width="460" height="50">
<form name="search" method="get" action="http://search.stores.ebay.com/search/search.dll" target="_blank">
<!-- Replace with # with STOREID -->
<input name="sid" value="#REPLACEWITHSTOREID" type="hidden">
<input name="srchdesc" value="y" type="hidden">
<input name="fp" value="0" type="hidden">
<input name="query" size="30" maxlength="300" type="text">
<input value="Search Store" name="submit" src="http://i.imgur.com/0uSF8nO.png" type="image">
</form>
</td>
</tr>
</tbody>
</table>
任何關於如何讓它正確顯示的建議將不勝感激!謝謝
嘗試啞下來HTML儘可能然後使用內聯的樣式表的樣式的元素。 – APAD1
他們允許CSS背景嗎? –
他們這樣做,但我不認爲你可以這樣做,因爲我花了那麼多時間在eBay上市:P – APAD1