Firefox不渲染CSS背景(Firefox错误/错误?) [英] Firefox is not rendering CSS background (Firefox error/bug?)

查看:161
本文介绍了Firefox不渲染CSS背景(Firefox错误/错误?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

花了一段时间创建一个在线投资组合,然后上传,我注意到我的一个部分的问题。在广告部分,我注意到它没有显示信息,只是标题。所以,我继续重新推动stylesheet.css,甚至编辑它,它仍然看起来一样。 HTML,CSS和JS正在如何写它。但是这只是没有显示的部分。在网上浏览和一个答案的stackoverflow后,我相信它与Firefox。当使用Firebug时,我注意到该部分的背景已被删除,导致整个部分消失。它在Chrome上运行得很好。我不担心IE,我知道浏览器本身有一些问题。无论如何,如果可以的话,是否有人会有解决这个问题的想法?甚至,可能会导致这个问题呢?

这是我自己的网站。 www.voelkerdesigner.com



干杯!

解决方案

对我而言,您的整个网站在我的Firefox中工作,而不是在Chrome中,通过您的代码,是由你的命名约定引起的。也就是 #advertise



我在chrome中使用adguard扩展,下面是css插入到我的html页面来隐藏广告,所以即时猜测您在Firefox中使用adblocker

  #adsense_top,#adsensewide,#adspace,#adspace_top,#adspot-300x250-pos-1 ,#adspot-300x250-pos-2,#adswidget1-quick-adsense,#adswidget2-quick-adsense,#adtext,#adtop,#adv-masthead,#adv-top,#advert1,#advert2,#advertbox3,# advertise,#advertisement1,#advertisetop,#advertising-container,#advertising_wrapper {
display:none!important;
}


After spending a while creating an online portfolio, then uploading it, I noticed an issue with one of my sections. On the "Advertisement" section, I noticed it was not displaying the information, just the title. So, I kept on re-pushing the stylesheet.css, even editing it, and it would still look the same. The HTML, CSS, and JS is working how I wrote it. But it is just the section that is not showing. After browsing online and on stackoverflow for an answer, I believe it has to do with Firefox. When using Firebug, I noticed the section's background has been removed, causing the entire section to "disappear." It works just fine on Chrome. I'm not worried about IE, I know that browser has some issues in itself. Anyway, would anyone on here have an idea to resolve this issue, if I can? Or even, what could be causing this issue?

Here is my website to see for yourselves. www.voelkerdesigner.com

Cheers!

解决方案

It is the opposite for me your entire site works in firefox for me but not in chrome, looking through your code, its being caused by your naming conventions. Namely #advertise

I use the adguard extension in chrome and below is the css it plugs into my html pages to hide ads, so im guessing your using an adblocker in firefox

#adsense_top, #adsensewide, #adspace, #adspace_top, #adspot-300x250-pos-1, #adspot-300x250-pos-2, #adswidget1-quick-adsense, #adswidget2-quick-adsense, #adtext, #adtop, #adv-masthead, #adv-top, #advert1, #advert2, #advertbox3, #advertise, #advertisement1, #advertisetop, #advertising-container, #advertising_wrapper {
display: none!important;
} 

这篇关于Firefox不渲染CSS背景(Firefox错误/错误?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆