添加CSS3支持到IE7 +与Javascript [英] Add CSS3 support to IE7+ with Javascript

查看:75
本文介绍了添加CSS3支持到IE7 +与Javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用CSS3选择器(例如:nth-​​child),但它们不受任何版本的IE支持。在我的Rails应用程序中,我已经包括Script.aculo.us和Prototype,这将是非常好的,不必包括Jquery。

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.

有任何脚本修复IE行为? (我对IE6的兼容性不感兴趣)

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

推荐答案

查看 IE8.js 图书馆,由院长爱德华。它几乎是你要求的。

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

查看 IE7测试页修复的问题。

这篇关于添加CSS3支持到IE7 +与Javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆