Make Internet Explorer "Advanced" CSS Selectors

Are there any JavaScript libraries that somehow make Internet Explorer (no specific version) recognize advanced CSS selectors, such as input[type="text"]?

I hate adding extra classes to HTML objects to host IE.

+3
source share
3 answers

I can't believe this was not suggested:

http://selectivizr.com/

selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors on the Internet Explorer 6-8. Just include a script on your pages and selectivizr will do the rest.

Selectivizr , JavaScript - . CSS3, IE.

JavaScript , , , .

+7

IE7.js( IE8.js IE9.js): http://code.google.com/p/ie7-js/ , IE script (, IE8.js IE6/7 IE8). , , CSS2/3, , .

JS, http://sizzlejs.com/ CSS2/3 JS.

+7

would you like javascript to change css browser support? I am pretty sure that this is impossible.

your best bet will include any styles you want in the class, and in your document are ready to do .addClass

0
source

All Articles