这是我的CSS代码,请查看。
body, html {
margin: 0;
padding: 0;
background-image: url(../images/header-back.jpg), url(../images/bg.jpg);
background-repeat: repeat-x, repeat;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
它不适用于 IE8 或更低版本。帮助?
- 从下面的答案。我尝试使用 CSS PIE
body, html {
margin: 0;
padding: 0;
-pie-background: url(../images/header-back.jpg) repeat-x, url(../images/bg.jpg) repeat;
behavior: url(piefolder/PIE.htc);
font-family: Verdana, Arial, Helvetica, sans-serif;
}
但仍然没有运气,
我也尝试过使用
body, html {
margin: 0;
padding: 0;
background: url(../images/header-back.jpg) repeat-x;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
body:before {
content:"";
background:url(../images/bg.jpg) repeat;
}
也不行,是我做错了吗?