我正在构建一个 html 5 网站,它在 chrome 和 Firefox 中运行良好。当我在 IE 9 中启动它时,除了我的背景图片之外,一切正常,它不跨越网站的高度。我的主体 CSS 位于下方,它控制背景图像及其高度和宽度。
#faq_page {
margin: 0 auto;
width: 1024px;
height: 100%;
padding-top: 0 auto;
background: #9c182f url(../images/faqimage.jpg) no-repeat center;
background-size: 1350px 1700px;
margin-top: auto;
}
最佳答案
关于css - 背景图像在 IE 9 中无法正确显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16322544/