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 不支持多个背景/图像,至少在 IE9 之前,they're a CSS3 feature ,你可以找到它们in the spec herespecifics here .

关于css - 背景上有多个图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3620769/

相关文章:

html - 外部(facebook like 和 google plusone)按钮的棘手 CSS 布局

jquery - 用jquery添加类

html - 如何使用 CSS 在标题 block 中垂直居中包含水平居中文本的图像?

html - 帮助右浮动div

javascript - 使日期选择器出现在输入下方

javascript - 如何从复选框标签中的 anchor 显示模态

javascript - 如何从现有的弹出窗口打开一个新的弹出窗口?

javascript - 以背景图像为中心的文本 [CSS]

css - 有没有办法使用 css 和空白来隐藏文本?

jquery - 如何阻止 JQuery Animate 函数移动整个页面