Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add CSS3 support to IE7+ with Javascript

I would like to use CSS3 selectors (such as :nth-child), but they aren't supported by any version of IE. In my Rails app I've already included Script.aculo.us and Prototype and it would be great not to have to include Jquery.

Is there any script to fix IE's behaviour? (I'm not interested in IE6 compatibility)

like image 533
collimarco Avatar asked Jul 15 '09 13:07

collimarco


2 Answers

Have a look at the IE8.js library by Dean Edwards. It does pretty much what you're asking for.

See the IE7 Test Page for the things it fixes.

like image 99
Blixt Avatar answered Nov 08 '22 01:11

Blixt


http://www.keithclark.co.uk/labs/ie-css3/

like image 1
jrdmcgr Avatar answered Nov 08 '22 00:11

jrdmcgr