I was trying to do something nice to display an error message, and everything was fine until I decided to try with chrome/safari, this is the code:
Here: http://pastebin.com/VymWLNTT
Or here: http://jsfiddle.net/YfrVJ/
Does anyone know a workaround or another similar way to display error messages?, thanks.
Without further inspection: +=50% fails. Change it to an absolute pixel value and it will work.
Edit: Alternatively remove “+=”.
http://jsfiddle.net/LTgUY/1/