Home > General > Form Elements Styling

Form Elements Styling

January 18th, 2009

Something’s been bothering me lately with a web application I’m working on — There’s no way to style select/comboboxes with CSS. This has always been a problem with browsers, I remember back when IE 5.0 was standard and thinking, this will surely be fixed in the next generation or so. Now we’re up to Internet Explorer 8 (in beta form), and this old problem still remains. CSS border styles simply don’t apply to select boxes.

That’s the bad news. The good news? There appears to be a library that tackles this problem. It’s available at http://www.emblematiq.com/projects/niceforms/

As for a little more bad news:  It only works on FireFox 2.0/Internet Explorer 7 and above. If you’re on an older browser (say, IE 6), or a mobile device like a Blackberry, then the elements show as if the library wasn’t being used. Definitely worth taking a look at if you’re interested in improving the look and feel of your interface.

General

  1. No comments yet.
  1. No trackbacks yet.