Drupal:CSS中区域背景图像的属性值无效
我正在为drupal站点创建一个主题,到目前为止它是非常基本的。主题的文件夹结构如下所示: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');
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和括号之间只有一个空格
一个简单的证明:总是简单的东西。谢谢你,凯文。