I have the following CSS which isn’t working in IE7.
input:focus{border-width: 2px;border-color: Blue; border-style: solid;}
Basically, I just want to set the border attributes when the input is focused. Works in Firefox etc… If anyone could explain why it isn’t working in IE 7 and suggest a possible workaround it would be appreciated. Thanks.
A known answer for this problem is using the following code:
And here is the css style
The problem is that IE doesn’t recognise that style at all.
EDIT: You can find a solution using prototype here: http://codesnippets.joyent.com/posts/show/1837