I'm trying to select all tr
elements inside a table
, except the third and fourth. I managed to do so by using:
#table tr:not(:nth-child(3)):not(:nth-child(4))
I'd like to combine those selectors because I've some more :nth-child
entries. Something like this, but it didn't work:
#table tr:not(:nth-child(3), :nth-child(4))
This does work in jQuery, but not in CSS. I'm using Chrome (and I only need it to work there).
I've not been able to find a combining selector for this case. How can I combine selectors with :not
?