Firefox正在加载css但没有应用.我尝试过其他浏览器并且所有浏览器都运行良好

rod*_*ode 2 html css wordpress firefox

http://rioblanco.hlsecuador.com

我正在开发这个网站.如果您使用firefox浏览,则style.css文件无效.Firebug不显示style.css文件的规则.但是如果你是viewource,那么它会显示整个文件.

样式表网址是:http://rioblanco.hlsecuador.com/wp-content/themes/hacendario/style.css

请帮帮我...它正在拉我的头发

Adr*_*ian 10

我的css也遇到了这个问题......

如果你查看http://jigsaw.w3.org/css-validator,你可以验证你的CSS.如果你的代码中有Parse错误,firefox就会停止读取下一行.显然你有解析错误:)

30   #bookpage   Parse Error ('mages/backgroundgrey.jpg)repeat; }
Run Code Online (Sandbox Code Playgroud)

(你错过了'背后.jpg- background-image: url ('mages/backgroundgrey.jpg') repeat;会是正确的)

编辑: 看起来您在图像images文件夹中有图像,因此更改路径images/backgroundgrey.jpg以加载图像

EDIT2: 有效代码如下:

#bookpage{
  background: url('images/backgroundgrey.jpg') repeat;
}
Run Code Online (Sandbox Code Playgroud)