Is there any Fix for child selector in IE6

后端 未结 4 1644
[愿得一人]
[愿得一人] 2021-01-19 15:18

While using :first-child :last-child , in css its works fine in IE7, FF.

Is there any possible fix for this.

Use of Javascript is fine. If it works without j

4条回答
  •  逝去的感伤
    2021-01-19 16:12

    There's an exact solution that doesn't require changes to your HTML. Use Microsoft "Dynamic Styles". Here's an example:

    
    
    
    
    
    

    Also see http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/ .

    提交回复
    热议问题
    FirstSecondThirdLast
    FirstSecondThirdLast
    FirstSecondThirdLast