CSS无法在发布中工作 [英] CSS not working in publish

查看:96
本文介绍了CSS无法在发布中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个CSS属性我的页面的主体,它不会通过。有任何想法吗?该文件位于根目录下的Styles文件夹中。它只是一个纹理图像。它在设计师中显示,而不是在网站上。我在Chrome浏览器中查看谢谢......



I have this CSS atrribute for the body of my page and it is not coming thru. Any ideas? The file is in the Styles folder right off the root directory. It is just a texture image. It shows in the designer, just not on the site. I am viewing in Chrome. Thanks...

body{background-image:url('/Styles/blue108.jpg'); background-repeat:repeat;}

推荐答案

检查文件名。您使用绝对文件路径,这将根据站点的根目录查找文件。准确测试您的网站。

-SA
Check up file name. You use absolute file path, which makes finding of the file depending on the root directory of the site. Test your sites accurately.
—SA


这篇关于CSS无法在发布中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆