:not selector in IE doesn't work

:not selector in IE doesn't work

Hi, I have a few

<div class="c"></div>

I do
    $(".c:not(:last)").css({borderColor:"#0f0"})

This is OK in Firefox, but in IE all columns get this color. The :not selector doesn't work in IE. Why not?