Notes to self

Easy solutions to tricky problems
May 07
Permalink

Image replacement for (x)html buttons

This tip at ampsoft.net seems to work just fine in Safari, Firefox, IE6 and IE7. Using the normal text-indent or padding/overflow hidden trick.

But both IEs insist on the [button type=”submit”]Go[/button] element, rather than [input type=”submit” value=”Go” /], since the value “Go” will display on top of the replaced image.