0

我已经像这样在我的页面上应用了背景,

body
{
background:#FFFFFF url('images/color.png') repeat top left;
color:#666666;
font-family:Arial,Helvetica,sans-serif;
font-size:80%;
font-style:normal;
font-variant:normal;
font-weight:normal;
white-space:nowrap;
margin:0 auto;
height:100%;
}

这似乎在 IE7、firefox 和 chrome 中有效,但在 IE6 中肯定不行。

替代文字

4

3 回答 3

0

ie6 不能很好地渲染 png。也许你应该只使用 gif 或 jpg?

于 2010-08-20T05:39:22.680 回答
0

IE6 讨厌 pngs..:) 别管它们在后台渲染..!你需要某种PNGFix来解决这个问题。我通常用这个

于 2010-08-20T05:53:59.927 回答
0

why would you use a transparent png for that? Using a gif would be a much better solution

于 2010-08-20T07:32:01.420 回答