How to prevent Firefox from putting shadows around input boxes which have had their background colou

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-05-06T19:40:58Z Indexed on 2010/05/06 19:48 UTC
Read the original article Hit count: 192

Filed under:
|
|

Hi there,

I'm creating a set of input fields and using javascript's .style.backgroundColor = "red" to change the colour of any invalid fields.

In Chrome, there is no problem. However, in Firefox, as soon as I touch the backgroundColor (even if I set it to white) then I get these strange shadow effects.

Does anyone know what's going on?

before: http://imgur.com/xYRLT.png after: http://imgur.com/R1tdI.png

© Stack Overflow or respective owner

Related posts about html

Related posts about css