0
我有一个小问题,与html img标签。html <img>标签显示gif的,但不显示jpg的
我的网站上有很多横幅广告,但由于某种原因,firefox只显示gif而不是jpg。
我试图改变源文件,但没有多大帮助。
任何人在这里都知道该怎么做?
JsFiddle example of the images
<!-- i didnt use the original links to the website and banners since they are
adult websites. -->
<!-- This one will work since its a gif -->
<p style="text-align: center;"><a href="#" target="_blank"><img border="0" width="468" height="60" src="http://fakesite.com/Upload/Banners/banner1.jpg" /></a>
<!-- This one doesnt -->
<p style="text-align: center;"><a href="#" target="_blank"><img border="0" width="468" height="60" src="http://fakesite.com/Upload/Banners/banner2.gif" /></a>
你可以发布你的代码并在jsfiddle中重新创建你的问题吗? – atmd 2015-02-23 15:10:18
这是否发生在其他浏览器?l – 2015-02-23 15:11:29
您能否显示您的代码以及发生问题的图像的名称? – Tom 2015-02-23 15:15:26