PDA

View Full Version : A seperate class for input field?



stfc_boy
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:

http://www.inspireaway.co.uk/test.php

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

Christopher

VIPStephan
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.