cubic Posted January 14, 2006 Share Posted January 14, 2006 I have the following code in my style sheet: input, textarea, select { background: #f1eff2; border: 1px solid #665f6f; color: #000; font: 10px Verdana, Arial, Helvetica, sans-serif; margin: 1px; padding: 2px;}input:focus, textarea:focus, { background: #fff; border: 1px solid #000000;} This works fine, changing the color of the input boxes to highlight them when the focus is on them when using Firefox, but does not work at all in IE. I am not using any javascript, and would like to avoid doing so if possible.Any Suggestions? Thanks! Link to comment Share on other sites More sharing options...
Yugiohwiz Posted January 14, 2006 Share Posted January 14, 2006 I don't see why it wouldn't work but could you please post a link to you site Link to comment Share on other sites More sharing options...
boen_robot Posted January 14, 2006 Share Posted January 14, 2006 the Focus preudo class is not supported in IE6. That's the only issue here. Link to comment Share on other sites More sharing options...
cubic Posted January 16, 2006 Author Share Posted January 16, 2006 Thank you, I didn't realize that it was not supported in ie. Any thoughts on a Java Script Approach to this soluiton? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now