背景图片IE8无法显示_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:43:41
Original
1099 people have browsed it

IE8 CSS

css代码
body {
   background-image:url(E:\jboss4.2.3.GA\server\test\deploy\at.war\common\images\aa.png); 
   background-repeat:no-repeat;
   background-position: center;
   background-attachment:fixed;
}

IE6可以显示背景图片,IE8就不行了,网上也找了些解决方案,还是不行,求高手!

回复讨论(解决方案)

有这么奇怪的事?背景图片地址直接用相对路径不就行了么

不要给自己找麻烦 , 请使用相对路径

跟绝对路径和相对路径没有关系吧,ie8兼容性问题

确实是路径问题,换成相对路径就可以了。谢谢!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template