Previous Message
Next Message

De-applying :focus for radio buttons

Sent by Iorhael on 19 February 2006 18:06


> If you can't get the target browser to work with attribute selectors, try 
> your idea again using
> the syntax:  element.class:pseudoclass ex:  input.radio:focus

Mike, okay, using this syntax, it works in Firefox but not in IE. And in 
Opera, the buttons are blanked out so that you can't select them at all.

http://www.drkdesign.com/debscards/cards_form.php

input:focus, textarea:focus, select:focus {
   background-color: #ABE2C4; /*light green*/
}

input.radio {
   background-color: #590F81; /*form bkgrd color*/
   font: 90% Arial, Helvetica, sans-serif;
}

input.radio:focus {
   background-color: #590F81; /*form bkgrd color*/

}

Debbie 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: