:not() selector not working on IE (6 to 9)
Hello everyone,
Here is my problem : I want to select all the h2 in my #corps container, except those with a .post-title class.
The following selector doesn't work with IE (from 6 to 9). No problem with Chrome, Firefox, Opera.
- #corps h2:not(#corps h2.post-title)
The HTML:
- <div id="corps">
- <div id="contenu">
- <h2>Actualités</h2>
- <div class="post">
- <div class="post-head">
- <div class="post-avatar"><img alt="img" src="/img.jpg" /></div>
- <div class="post-title-info" >
- <h2 class="post-title"><a href="/blah">Blah</a></h2>
- <p class="post-info right">
- Blah Blah
- </p>
- </div>
- </div>
- <div class="post-content">
- <p>Blah blah blah.</p>
- </div>
- </div>
How could I fix this?
Thank you for your help !