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