Remove link outlines

You know those dotted outlines that Firefox puts on links, often breaking the aesthetics of image links?

a { outline:0; }

Posted 02 May 2008, tagged with css firefox

Graceful degradation of submit

Instead of using type="image", use a normal type="submit" and apply the image with css background. To get rid of the text, use a negative text-indent on rational browsers or a combination of display:block, overflow:hidden and font-size:1000em (better than font-size:0, trust me).

Par examplais..

Go ahead, disable CSS and see for yourself.

Oh yeah crap: doesn't work in Camino.

Posted 02 May 2008, tagged with html css a11y