It's going to be more a javascript thing than a css thing. You should have the onclick event go to a javscript function that finds the correct input and then changes the background color.
__________________ l Search Engine Friendly Web Design | Please login or register to view this content. Registration is FREE
l Tips On Marketing, SEO, Design, and Development | Please login or register to view this content. Registration is FREE