【问题标题】:Background repeat doesn't seem to work in IE6背景重复似乎在 IE6 中不起作用
【发布时间】:2010-08-20 05:37:47
【问题描述】:

我已经为我的页面应用了这样的背景,

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 中肯定不行。

【问题讨论】:

    标签: css internet-explorer png internet-explorer-6 background-repeat


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        【解决方案3】:

        你为什么要使用透明的 png 呢?使用 gif 将是一个更好的解决方案

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2011-07-28
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2021-06-06
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多