我创建了一个简单的html模板,用于列出朋友的作品。我遇到的问题是图像没有显示。
我有几个html img标签和css背景样式标签中的一些图像。当直接访问或在浏览器中查看html模板时,所有图像都是自托管的并在浏览器中显示。当我将模板放入ebay并预览时,图像不显示。
模板如下:
<div style="width: 950px;">
<div style="width: 950px; height: 150px; background: url('http:www.freedomstores.co.uk/images/ebay/art_of_wood/bkg_header.jpg') no-repeat 0 0; margin-bottom: 10px;">
<img style="margin: 10px 0 0 10px;" src="http:www.freedomstores.co.uk/images/ebay/art_of_wood/logo.gif" width="400" height="89" />
</div>
<div style="width: 950px; min-height: 420px; background: url('http:www.freedomstores.co.uk/images/ebay/art_of_wood/bkg_main2.gif') no-repeat 0 0; text-align: center;">
<h1>Wooden stones Set of 5 (Light Oak)</h1>
<img src="http:www.freedomstores.co.uk/images/ebay/art_of_wood/stones.jpg"
width="380" height="243" />
<p>Set of 5 presentation wooden stones made from solid wood with
finished as shown</p>
</div>
</div>
有谁知道图片没有显示的原因?
答案 0 :(得分:0)
您错过了网址中的//
。例如,而不是:
http:www.freedomstores.co.uk/images/ebay/art_of_wood/logo.gif
这样做:
http://www.freedomstores.co.uk/images/ebay/art_of_wood/logo.gif
在所有参考文献中进行更改。