On 2/19/06, Iorhael <[EMAIL PROTECTED]> wrote:
> Does anyone know if there is any way to set up :focus for input, textarea, 
> and select in forms without having it applied to the radio buttons? I tried 
> input:focus.radio and specifying the background color of the form but that 
> did not work.
>
> Debbie
>
> http://www.drkdesign.com/debscards/cards_form.php
>
> CSS:
>
> input, textarea, select {
>    background-color: #DBC8F5; /*lavendar*/
>    font: 90% Arial, Helvetica, sans-serif;
> }
>
> input:focus, textarea:focus, select:focus {
>    background-color: #ABE2C4; /*light green*/
> }
>
The answer ought to be "attribute selectors" e.g. input[type=

Richard Grevers, New Plymouth, New Zealand
Hat 1: Development Engineer, Webfarm Ltd.
Hat 2: Dramatic Design www.dramatic.co.nz
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to