What is the replacement for the child selector?

后端 未结 8 993
庸人自扰
庸人自扰 2021-02-06 02:57

Since IE6 does not support the child selector (see http://kimblim.dk/csstest/#ex1), what is the alternative when dealing with this browser?

I do not want to modify the m

8条回答
  •  春和景丽
    2021-02-06 03:46

    Do you need direct child? IE6 supports descendant selectors like

    div span { ... }
    

    Perhaps you could leverage that to target what you want. Perhaps you could post some code so that we could give you a more specific answer?

提交回复
热议问题