Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
craigcmehil
Community Manager
Community Manager
0 Kudos
I was surfing through the rather large list of unread RSS feeds I have in my reader and I came across this post addressing the most frustrating issue of CSS across different browsers, even SDN struggles with this one (our last update made some vast improvements).
Rafael Lima took inspiration from 37 Signals browser selector idea and created it. "It" being a JS library that allows you to create browser specific CSS to be merged into your normal classes.
The example given shows clearly how it works on the CSS side, for JS file (current version is 0.1.7) actually does the hard work for you.
It currently supports the following browser codes:
  • ie - Internet Explorer
  • ie6 - Internet Explorer 6
  • ie5 - Internet Explorer 5
  • gecko - Mozilla, Firefox, Camino
  • opera - Opera
  • konqueror - Konqueror
  • webkit or safari - Safari, NetNewsWire, OmniWeb, Shiira
A very cool step in the right direction, seeing as how standardizing CSS across every browser still doesn't seem to be happening very well...
1 Comment