Hi,

I did a search (albeit quick) of the archives for the answer to this, 
but could not find it. I would like to change the background and border 
color when the focus is on the input field. The following works fine in 
FireFox and Safari (background color only), but not in IE PC. Do I need 
to resort to a javascript onfocus/onblur to make this work with PC, or 
am I missing something here?

input.blueinput, textarea.blueinput {
        background: #f4f4f4;
        border: solid 1px #7eb3f6;
        padding: 2px;
}

input.blueinput:focus, textarea.blueinput:focus {
        border:1px solid #019201;
        background-color: #DAFEDA;
}

Thanks very much,

Mark

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to