Chrome无法加载样式表 [英] Chrome not loading Stylesheet
问题描述
似乎Google Chrome浏览器不会根据样式表显示我的网站。
Seems like Google Chrome is not displaying my site according to the stylesheet.
当网页首次加载时,它加载正常...但随后它更改为raw html格式到页面加载结束。
When the page first load, it loads fine...but then it changes to raw html format towards the end of the page load.
它最终看起来像这样(你可以在顶部栏看到网址):
It ends up looking like this (you can see web address at the top bar):
[点击查看完整尺寸]
>
我有2个样式表,一个是替代,用户可以通过点击网站右上角的明/暗按钮来切换。
I have 2 style sheets, one is an "alternative" that a user can switch between by clicking the Light/Dark buttons at top right of the site.
为什么会发生这种情况?
Why is this happening? I never had a problem before.
我的规格:Mac OS X with Google Chrome 14.0.835.186
My specs: Mac OS X with Google Chrome 14.0.835.186
推荐答案
你有HTTPS无处不在+ Adblock安装?如果是的话,我发现当主网站没有或有限的https支持时,点击google搜索结果通常会产生这种行为。
Do you have HTTPS everywhere + Adblock installed? If so, I've found that clicking through google search results will often produce this behavior when the main site has no, or limited https support.
我注意到相同的行为
临时禁用https无处不在,或重新输入没有https的网址似乎修复了它对我来说。
Temporarily disabling https everywhere, or re-entering the URL without https seems to fix it for me.
这篇关于Chrome无法加载样式表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!