Edit [30.01.12]: Turns out I got something wrong. I’ve updated the code below to fix this. Note, I’ve only tested this with input and textareas! I originally found this code here but it didn’t support textareas, so I’ve added that in. Just add this javascript to your site, and then the following CSS to your