我的eBay賣家的頁面在Firefox和IE中正確顯示(除了文字陰影),但在谷歌Chrome瀏覽器中並不完全。eBay賣家的頁面顯示不正確(谷歌瀏覽器)
在Chrome中,div的頂部(id =「break1」)與其標題之間有空格。
我試圖通過改變div,header和段落以及包含div(id =「container」)的填充和邊距來解決問題,但沒有成功。
這裏有一些圖片,讓你可以得到一個更好的主意:
火狐易趣預覽>>http://www.auction2013.netai.net/images/ffpreview.jpg
鉻易趣預覽>>http://www.auction2013.netai.net/images/gcpreview.jpg
這裏的內聯CSS的HTML(格式化eBay):
<div id="break1"
style="
position: absolute;
top: 890px;
left: 63px;
width: 870px">
<h2 class="header3"
style="
font-family: Tahoma, Geneva, sans-serif;
font-weight: 900;
font-size: 22px;
color: #E7013A;
text-shadow: 2px 2px 4px #5E5E5E;
margin: 0 0 0 12px">
Winning Bidder
</h2>
<p class="para2"
style="
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
margin: 14px 12px 0 12px">
When the auction closes, you will be notified via email with the payment information.
Please complete the payment transaction within 72 hours of the end of the auction.
I will ship the item within 72 hours of receiving payment.
</p>
</div>
<div id="break2"
style="
position: absolute;
top: 978px;
left: 63px;
width: 870px">
<h2 class="header3"
style="
font-family: Tahoma, Geneva, sans-serif;
font-weight: 900;
font-size: 22px;
color: #E7013A;
text-shadow: 2px 2px 4px #5E5E5E;
margin: 0 0 0 12px">
Payment Options
</h2>
<p class="para2"
style="
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
margin: 14px 12px 0 12px">
At this time, I am only accepting payments via PayPal.
The email confirmation at the close of the auction will
contain the complete payment information.
</p>
</div>
請注意,下一個div(id =「break2」)幾乎與問題div相同,bu噸不受影響。
當它不在eBay內部時,網頁在Google Chrome中正確顯示。
謝謝!
感謝您花時間回覆。看來我已經解決了這個問題。我只是在我的代碼中複製了一個類似的部分並進行了修改。基本上,在break1 div的某個地方肯定有錯誤。我絕對找不到它。 :P – 2013-03-07 03:30:19