The background color of this box used to appear orange in most browsers, but green in Safari and Chrome.
This hack came from http://www.stuffandnonsense.co.uk/archives/hide_css_from_safari.html
Here are the styles in the header that make this work. The first styles are overridden by the second ones in browsers that don't have the bug, so put the Safari/Chrome styles first, and then override them below.
<style type="text/css">
/* put Safari/Chrome styles here */
#testbox {background:lime;}
</style>
<style>
@media all {
@import url(dummy.css); /* css file does not exist */
/* put styles here to override the Safari/Chrome styles */
#testbox {background:orange;}
}
</style>
Chances are, this bug will be fixed eventually, so use at your own risk. Tested in Safari/Win 3.2.1 and Chrome 0.4.154.29 in February 2009.
Here is another method of accomplishing the same thing that uses Javascript It does not rely on a bug, but is still not a very robust method because there is no way of future proofing it.