几天以来最奇怪的事情发生了。检查元素不再识别 css 文件(参见附图)。不知何故,css 文件被列为图像。
我将此 css 文件的内容复制到另一个(工作)css 文件中,以检查问题是否出在内容或其他内容(例如权限)上。但随后工作文件也不再被识别。所以内容确实有些奇怪。
有人有主意吗?

http://sbx.mujjo.com/media/images/sc.png
The strangest thing is happening since a few days. Inspect element doesn't recognize a css file anymore (See attached image). Somehow the css file gets listed as an image.
I copied the content of this css file into another (working) css file to check if the problem was the content or something else like permissions. But then the working file didn't get recognized anymore either. So there's something really strange with the content.
Anybody got an idea?

http://sbx.mujjo.com/media/images/sc.png
发布评论
评论(2)
解决了!以下行导致了此问题: background: url('') top left no-repeat; 显然不允许将 url 留空。这至少会混淆检查元素! – Remy Nagelmaeker 2011 年 12 月 17 日 18:04
Solved! The following line caused this issue: background: url('') top left no-repeat; Apparently it's not allowed to leave the url blank. This confuses inspect elements at least! – Remy Nagelmaeker Dec 17 '11 at 18:04
您确定您像这样放置样式表吗?
Are you sure your putting your stylesheet in like so?