tags:

views:

29

answers:

1

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

+2  A: 

Set the border to a single color: style="border:1px solid #000;"

webdestroya
That sorted it, cheers.
Andrew
No problem, happy to help
webdestroya