IE6下 class选择器和png图片的bug



1、png图片在IE6下透明的方法之一,(* html selecter { behavior: expression(DD_belatedPNG.fixPng(this)); }),与js通过添加其父节点的class名称,来改变样式,会出现bug

      其原因就是下面的这段因为加上透明图片功能的代码造成的。

{

      <?XML:NAMESPACE PREFIX = DD_belatedPNG NS = "urn:schemas-microsoft-com:vml" />
    <DD_belatedPNG:shape style="Z-INDEX: 3; LEFT: 13px; WIDTH: 74px; TOP: 16px; HEIGHT: 50px; BACKGROUND-COLOR: transparent" coordsize = "74,50" filled = "f" stroked = "f" path = " m0,0 l74,0,74,50,0,50 xe">
        <DD_belatedPNG:fill></DD_belatedPNG:fill>
    </DD_belatedPNG:shape>
    <DD_belatedPNG:shape style="Z-INDEX: 3; LEFT: 13px; WIDTH: 75px; CLIP: rect(1px 75px 48px 1px); TOP: 16px; HEIGHT: 51px" coordsize = "75,51" coordorigin = "1,1" filled = "t" fillcolor = "none" stroked = "f" path = " m0,0 l75,0,75,51,0,51 xe">
        <DD_belatedPNG:fill src = "http://localhost:90/Styles/core/images/common/Topic/bg-t-cell.png" type = "tile" position = "873f,1285f"></DD_belatedPNG:fill>
    </DD_belatedPNG:shape>

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值