Twitter Bootstrap 背景图片未显示在本地主机上
Twitter Bootstrap Background image not showing on localhost
我正在我的本地主机 (xampp) ubuntu linux 上的 Twitter bootstrap 上工作,我已经尝试了很多加载网站的背景图片,但似乎 work.I 没有任何图片与我的 php file.I 包含所有 bootstrap cdn 但它不是 working.Is 是 url 的问题吗?
这里是 link 在 JSbin http://jsbin.com/nudemorune/edit?html 上编码
提前致谢...!!!
不显示背景图像的原因可能是 CSS 没有获取图像。我的意思是你的背景图片路径不正确。尝试这样做:
#topcontainer{
background-image:url("../img-directory-name/background.jpg");
height:400px;
}
这里是 link 在 JSbin http://jsbin.com/nudemorune/edit?html 上编码 提前致谢...!!!
不显示背景图像的原因可能是 CSS 没有获取图像。我的意思是你的背景图片路径不正确。尝试这样做:
#topcontainer{
background-image:url("../img-directory-name/background.jpg");
height:400px;
}