css3 - Best CSS buttons that are cross browser, degrade gracefully, and work on input or link -


i have seen lot of attempts @ css buttons (for example http://ubuwaits.github.com/css3-buttons/ )

but haven't seen 1 emerge yet safe use in production , meets following requirements:

  • looks on modern browsers
  • degrades gracefully on older browsers down @ least ie7 (bonus if ie6) - don't care if good, long aren't noticeably bad
  • works equally on input tag (submit button) or link (a tag)

what best ones people using in production?

better still use css sprites. involves putting button states in 1 image file , setting background-image property. changing position of background-image @ different states (active, hover) image appears switch when in fact change position. google css sprites tutorial more.

also navigation bar or list should unordered list each button

  • element. degrades best.


  • Comments

    Popular posts from this blog

    ASP.NET/SQL find the element ID and update database -

    jquery - appear modal windows bottom -

    c++ - Compiling static TagLib 1.6.3 libraries for Windows -