1
Enabling nth-child selectors and css3 pseudo classes in IE8 and IE7
I have used odd and even nth-child selector styles in CSS of a website and it works fine in all major browsers. However in IE8 the browser is ignoring the selector to set a different background color for odd and even rows. Is there any simple work around to make the new css attributes work in IE8?





This solution has been deemed correct by the post author
Use selectivizr. It is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8. Simply include the script in your pages and selectivizr will do the rest.
http://selectivizr.com/
Choose another answer as the right one
Was this answer helpful?
LikeDislike