Check this snippet out:
[css]/* Conditional-CSS example */
a.button_active, a.button_unactive {
display: inline-block;
[if lte Gecko 1.8] display: -moz-inline-stack;
[if lte Konq 3.1] float: left;
height: 30px;
[if IE 5.0] margin-top: -1px;
text-decoration: none;
outline: none;
[if IE] text-decoration: expression(hideFocus=’true’);
}[/css]Ever wanted to write CSS like that? Then seek no further! Conditional-CSS is a little script which preprocesses your CSS to target the browser visiting the site. Neato! Available in PHP, C and C# flavors 🙂