Archive for February, 2009

How to turn off Safari’s input focus outer glow

Tuesday, February 24th, 2009

Have you ever tried to use custom CSS background images for your form inputs? Well it actually turns out to be quite easy: apply the background image and then remove the default borders. But unfortunately in Apple’s Safari you get some over zealous focus styles applied by the browsers default rendering engine:

Safari's input focus outer glow

To remove this outer glow, just apply some simple CSS:

outline: none;

See my example of how to turn off Safari’s input focus outer glow for detailed information.

Technorati Tags: , , , ,