0
我无法为快捷中的部分标签创建背景图片。我尝试了几种不同的路径,包括:css背景网址不能在快递中工作
#image{
background: url('/images/beachPierPanorama.jpg') 50% 0 no-repeat fixed;
}
#image{
background: url('./images/beachPierPanorama.jpg') 50% 0 no-repeat fixed;
}
#image{
background: url('../images/beachPierPanorama.jpg') 50% 0 no-repeat fixed;
}
这是我的文件目录的图片。您在上面看到的CSS位于style.css中,我试图引用图像中的图像文件夹:
![IMG]http://i58.tinypic.com/dcbrkx.png[/IMG]
我想看看哪一个实际上将图像加载到节标记中。目录结构的图像可以在http://i58.tinypic.com/dcbrkx.png – user3294779 2014-10-27 00:10:13