Hello,

I'm working on a form, and as the user checks items I want the label to change color. I seem to be able to do this fine with radio buttons by adding the following to my css:

input[type="radio"]:checked+label {....}

However I haven't been able to me the same thing work for checkboxes with

input[type="checkbox"]:checked+label {....}

http://fat-hair.com/surveys/blowdryspray/survey.php


If anyone knows what I'm doing wrong and can help me, it would be greatly appreciated!

Thanks for reading and, in advance, for any help!

- Matthew
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to