简体   繁体   中英

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)

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM