Css 背景上的多个图像
我正在尝试使用以下CSS代码创建具有多个背景图像的页面:Css 背景上的多个图像,css,Css,我正在尝试使用以下CSS代码创建具有多个背景图像的页面: body { background-image:url(../i/bg_bf.jpg), url(../../../../test.png) ; background-position: top center, bottom left; background-repeat:no-repeat; padding-top:3px; } 它在Firefox上运行良好,但在IE中既不显示图像也不显示图像 有什么建议吗?IE不支持多个背
body {
background-image:url(../i/bg_bf.jpg), url(../../../../test.png) ;
background-position: top center, bottom left;
background-repeat:no-repeat;
padding-top:3px;
}
它在Firefox上运行良好,但在IE中既不显示图像也不显示图像
有什么建议吗?IE不支持多个背景/图像,至少在IE9之前,您可以通过找到它们。您可能需要使用包装器
<body>
<div id="windowWrapper">
body {
background-image:url(../i/bg_bf.jpg) no-repeat top center;
padding-top:3px;
}
#windowWrapper {
background-image:url(../i/test.jpg) no-repeat top center;
}