Is there some kind of \"not\" CSS selector?
For example when I write the following line in my CSS, all input fields inside an tag with class classname will
I think the closest you can get is to only affect direct descendants with a declaration
This code for example will only affect input fields directly under divs with class "maincontent"
div.maincontent > input { // do something }