我遇到了 IE 8 CSS 的问题。
* {
margin: 0;
padding: 0; }
img, fieldset { border:none; }
body {
font-family: Arial, Helvetica, sans-serif;
}
在页面中:
<body style="background:#FFFFFF url(../public/img/s5_fa_bot_bg.png) no-repeat bottom center">
png 图像在 Firefox 和 Safari 中正确显示,但在 IE8 中显示在顶部
最佳答案
这是一个 IE8 错误,您的 png 背景图像至少需要 4x4 像素。
更多信息@ http://stevelove.org/2009/07/10/png-background-repeat-bug-in-internet-explorer-7-and-8/
关于css - IE 8 PNG正文背景问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3007019/