Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Drupal:CSS中区域背景图像的属性值无效_Css_Drupal_Background - Fatal编程技术网

Drupal:CSS中区域背景图像的属性值无效

Drupal:CSS中区域背景图像的属性值无效,css,drupal,background,Css,Drupal,Background,我正在为drupal站点创建一个主题,到目前为止它是非常基本的。主题的文件夹结构如下所示: theme-folder -->css -->style.css -->images -->first_page_slideshow.png --drupal files-- 有关区域的css: .content-header { background-image: url ('../images/first_page_slideshow.png');

我正在为drupal站点创建一个主题,到目前为止它是非常基本的。主题的文件夹结构如下所示:

theme-folder
-->css
   -->style.css
-->images
   -->first_page_slideshow.png
--drupal files--
有关区域的css:

.content-header {
    background-image: url ('../images/first_page_slideshow.png');
    background-repeat: no-repeat;
    background-position: left top;      
    width: 1024px;
    height: 380px;      
}
然而,我无法将图像作为背景加载。GoogleDeveloperTools显示背景图像:css标记上的属性值无效

任何帮助都将不胜感激。

background-image: url ('../images/first_page_slideshow.png');
变成

background-image: url('../images/first_page_slideshow.png');
url和括号之间只有一个空格


一个简单的证明:

总是简单的东西。谢谢你,凯文。