1 min read

IE broken as ever

One downside of Internet Explorer no longer being updated is that its bugs will stick around for some time. A new one I discovered yesterday was that IE's handling of images as form buttons is broken when used as a submit button.

I found a horrible hack was change back to a normal submit type, then set background-image of the button to the graphic, with the appropriate heights and widths, and a border of none. Unfortunately, this would only look exactly the same if I cleared the value out (so text wasn't on top of the graphic), making the buttons appear blank on non-CSS aware browsers.

But it works in IE. Bad IE!

Subscribe to the blog

Become a subscriber receive the latest updates in your inbox.