问题
is there any way I can get the :not()
pseudo-class to work in Internet Explorer 7/8? Is there any javascript that can do the same thing as the CSS3 :not()
?
回答1:
Or you can use Dean Edwards IE7.js
回答2:
Yes, as regards JavaScript, jQuery and MooTools support the :not
pseudo-class selector.
http://mootools.net/docs/core/Utilities/Selectors#Selector:not
http://api.jquery.com/not-selector/
回答3:
Try using this css3 selectors for ie:
http://selectivizr.com/
来源:https://stackoverflow.com/questions/3077146/use-not-pseudo-class-in-ie7-ie8