Background color - for IE6, IE7

Works in IE8 and Mozilla

select:focus, input:focus,textarea:focus
{
    background:#abd533;
    font-family:verdana;
}

      

When using IE7, I noticed that the background color of the input field is not shown, but it does appear in IE8 and Mozilla.

Can someone please let me know what to do with IE7 or IE6?

+2


source to share


3 answers


This is a bug in IE7

Cm



Basic Selector Support Tests

You can use javascript to detect focus and change the class name.

+1


source


I would like to show you this link. It addresses a lot of browser issues:

http://quirksmode.org is pretty good for listing browser and compatibility bugs.

From my question:



Collection of browser characteristics

Just want to add this reason so that these sites help me a lot.

0


source


I think you are facing one of the Internet Explorer errors (many).

For IE6 and 5, this page is quite helpful for styling the form: Style Controls

0


source







All Articles