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()
?
Asked
Active
Viewed 2.3k times
22

BoltClock
- 700,868
- 160
- 1,392
- 1,356
3 Answers
6
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/
1
Try using this css3 selectors for ie:

Rakesh Vadnal
- 975
- 1
- 10
- 22
-
Unfortunately :not is 'not' applied https://groups.google.com/forum/#!topic/ie-css3/4K4Q8pUMFTg – silversky Sep 04 '13 at 02:15
-
1@silversky Selectivizr supports :not as of v0.9.7b. See changelog at https://github.com/keithclark/selectivizr/blob/master/changelog.txt – Heraldmonkey Nov 06 '13 at 10:18