For my application, I wanted to style the submit buttons nicely. With normal CSS, I managed to get it to look good in Firefox, and horrible in IE. Then I saw this blog entry:
http://www.sohtanaka.com/web-design/liquid-color-adjustable-css-buttons/
Using that technique you get gorgeous buttons, in pretty much all browsers. However, there are also a few accessibility issues:
- Since it uses links instead of real HTML input or button elements, clicking the button does not submit the form. This is easily resolved using Javascript, but it would be ideal if the submit button works without Javascript enabled.
- Another issue is that hitting [ENTER] does not submit the form. A dirty hack is to include an invisible input element of type "submit" or "image".
Basically what I want is perhaps the impossible: The quality of the styling as seen in the blog entry, yet implemented using normal elements so that I get normal behavior.
Do I really have to chose between dirty hacks or poor styling?
Every button styling tutorial that I have seen so far has sub optimal results in IE :(