为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

css not working on some sites

  • 6 个回答
  • 1 人有此问题
  • 77 次查看
  • 最后回复者为 kidzrback

more options

I had this problem for a bit now and most sites work but some DO NOT render the CSS properly. At first I though it was a Firefox problem, but it turns out when I use IE I have the same results on some sites.

This is on my main computer with Win7 Ultimate. On my slow old netbook running Win7 Ultimate, everything works fine.

FYI I have cleared, deleted, scanned everything. Safe mode, same thing. What in underlying system is running CSS rendering?

Any help appreciated.

I had this problem for a bit now and most sites work but some DO NOT render the CSS properly. At first I though it was a Firefox problem, but it turns out when I use IE I have the same results on some sites. This is on my main computer with Win7 Ultimate. On my slow old netbook running Win7 Ultimate, everything works fine. FYI I have cleared, deleted, scanned everything. Safe mode, same thing. What in underlying system is running CSS rendering? Any help appreciated.

被采纳的解决方案

You guys are stars.

The web console solved the problem I created. I use my hosts file to block some unwanted / nasty sites. Well somehow I put in a block for important js content. oops ... that one's on me.

So this was not a CSS problem after all but a content blocking problem.

This really helps, thanks.

定位到答案原位置 👍 0

所有回复 (6)

more options

What is the site? So others can see if they get the same problem. But if you also get the same problem on another site then it could be the site your or your system O/S is having issues.

more options

Hi kidzrback, if you suspect the CSS might not be loading at all -- the page looks like an unstyled dump of plain HTML -- the problem sometimes is caused by failure to make a secure connection to a secondary server. You can use Firefox's Network Monitor tool to see what Firefox is requesting and what kind of response there is from the server, if any.

To open the Network Monitor in the lower part of the tab, you can use either:

  • "3-bar" menu button > Web Developer > Network
  • (menu bar) Tools > Web Developer > Network
  • (Windows) Ctrl+Shift+e

When you reload the page (Ctrl+r), Firefox should start listing all the files it is requesting, along with information about whether the request was successful.

More info: https://developer.mozilla.org/docs/Tools/Network_Monitor

more options

What security software do you have?

It is possible that your security software is intercepting the connection and is blocking these CSS files if it happens with other browsers as well.

Boot the computer in Windows Safe mode with network support to see if that has effect in case security software is causing problems.

more options

I will try these responses. Remember most sites work ..... only 2 that I work with haven't. My internet cable site where I go to log in and it just hour glasses me and never can log in. There is also a site on ebates for their gift card section. It just doesn't show any available cards. Where on my other computer both work fine.

more options

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?


You can check the Web Console to see if there are messages about blocked content.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

Firefox shows the shield icon at the left end of the location/address bar in case Content Blocking is blocking content.

  • click the shield icon for more details and possibly disable the protection

You can check the Web Console about what content is blocked

more options

选择的解决方案

You guys are stars.

The web console solved the problem I created. I use my hosts file to block some unwanted / nasty sites. Well somehow I put in a block for important js content. oops ... that one's on me.

So this was not a CSS problem after all but a content blocking problem.

This really helps, thanks.