图像不加载在Firefox中 [英] Images not loading in firefox
问题描述
我可以在chrome和IE中看到图片,但是不能在Firefox中看到。
在检查图片元素时,有 display:none!important
分配给它。
不使用任何供应商的CSS或JS文件。这是纯HTML。
当我检查在Firefox中的媒体信息,我可以看到列出的图像和'块'选项没有标记。
可能是什么原因以及如何解决它。
< UL>
< li>
< a href =#>
< img src =images / ad1.jpg/>
< / a>
< / li>
< / ul>
更新
我在Firefox中有一个广告拦截器插件,导致这个问题。
重命名类 ads
,没有工作,但重命名图像工作。希望这有助于。
我猜你有一个adblock扩展活动,因为你的图像嵌套在一个div与类 .ads
I can see the image in chrome and IE but not in Firefox.
On inspecting the image element, there is display:none !important
assigned to it.
Not using any vendor CSS or JS files. It's plain HTML.
When I check the Media info in Firefox, I can see the image listed and the 'block' option is not marked.
What could be the reason and how to fix it.
<ul>
<li>
<a href="#">
<img src="images/ad1.jpg"/>
</a>
</li>
</ul>
UPDATE
I had an ad-blocker plugin in firefox which was causing this issue.
renaming the class ads
, did not work, but renaming the image worked. Hope this helps.
I'm guessing you have an adblock extension active, since your image is nested in a div with a class of .ads
这篇关于图像不加载在Firefox中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!