CSS .
A script that allows you to create specific CSS to target specific browsers.

Example
You can prefix specific elements (available codes: ie, gecko, opera, konqueror, safari) and the library will make sure that the correct items are added in for a particular .

This can be considered cleaner than some of the really ugly hacks that you normally face.

.ie .example { 
background-color: yellow
}    

.ie7 .example {
  background-color: orange
}    

.opera .example {
  background-color: gray
}

Available OS Codes

  • Available Codes
  • win - Microsoft Windows
  • linux - Linux (x11 and linux)
  • mac - Mac OS

Available Codes

  • ie - Internet Explorer (All versions)
  • ie6 - Internet Explorer 6.x
  • ie5 - Internet Explorer 5.x
  • gecko - Mozilla, Firefox, Camino
  • opera - Opera (All versions)
  • opera8 - Opera 8.x
  • opera9 - Opera 9.x
  • konqueror - Konqueror
  • webkit or safari - Safari, NetNewsWire, OmniWeb, Shiira

For more about the script
http://rafael.adm.br/css_browser_selector

In this case all you have to do is to add small Javascript in your which you can download directly here

Tags: , , , ,