How to let css selector exclude an element ?

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-03-23T02:21:24Z Indexed on 2010/03/23 2:31 UTC
Read the original article Hit count: 531

Filed under:
|

For example I have a css style like this :

    input.validation-passed {border: 1px solid #00CC00; color : #000;}

The javascript validation framework I use will inject every input tag with a class="validation-passed" .For the elements like <input type='text' /> ... , this is ok , but for <input type='button' /> , I want this is not applied , how should I do this ?

© Stack Overflow or respective owner

Related posts about css

Related posts about JavaScript