Background repeat doesn't seem to work in IE6

安稳与你 提交于 2019-12-12 06:16:03

问题


I ve applied a background to my page like this,

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%;
}

This seems to work in IE7,firefox and chrome but certainly not in IE6.


回答1:


IE6 hates pngs..:) leave alone rendering them in background..! you will need some sort of PNGFix for this.. I usually use this




回答2:


ie6 doesnt render pngs well. maybe you should just use a gif or jpg?




回答3:


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



来源:https://stackoverflow.com/questions/3528427/background-repeat-doesnt-seem-to-work-in-ie6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!