如何使Internet Explorer 8支持第n个child()CSS元素?
问题描述:
我想给我的表行一个斑马条纹效果。在所有其他浏览器中,可以使用CSS第n个子元素。但我想做它IE 8也。
I want to give a zebra stripe effect to my table rows. In all other browsers it can be done using CSS nth child element. But i want to do it IE 8 also. SO how can i do it?
答
您可以使用 http://selectivizr.com/ JS支持IE的css3选择器。
You can use http://selectivizr.com/ JS which support css3 selector for IE.