View Full Version : A seperate class for input field?

Mar 20th, 2009, 02:46 PM
Hello Guys,

I have a VERY simple question, but for some reason I can't get my head around it. If you kindly take a look at:


You will see that I have a form with styling. Now this is just a snippett of the form.

The form has LOTS of input text fields and I have written a generic class for this, but I also have another input fields in terms of a input checkbox fields. Now I thought by giving them a classname (.radiobtn) the generic class for input would be overwritten and ignore the other class, but it's not in IE or FF.

How can I get around this?

Many Thanks


Mar 20th, 2009, 03:07 PM
Currently your stylesheet is looking for any element with class “radiobtn” within any input element. Remove the space bewteen “input .radiobtn” and you’re on the right track.