I have tons of textboxes. My boss wants to highlight the active textbox so in the css I wrote this class .textbox:focus{ background-color:Blue;} . The Problem is that do not work with IE. Javascript is not acceptable. Can you help me?
How to highligh textbox?
Collapse
X
-
This won't work on IE, unless you provide a strict doctype. And for that, your code needs to validate that doctype.Originally posted by mynkowI have tons of textboxes. My boss wants to highlight the active textbox so in the css I wrote this class .textbox:focus{ background-color:Blue;} . The Problem is that do not work with IE. Javascript is not acceptable. Can you help me? -
I don't think any version of IE supports the :focus pseudo-class, even in standards mode. I think your boss is just going to have to understand this can't be achieved without JavaScript for IE.Originally posted by hsriatThis won't work on IE, unless you provide a strict doctype. And for that, your code needs to validate that doctype.Comment
Comment