Targeting Safari and Firefox in CSS hacks
Tanrei has a great article on some css filters I was unaware of. In different combinations they allow you to filter to different browsers, especially Safari, that were tough to deal with in the past when the stray bit of layout went awry in that browser (which luckily doesn’t happen TOO often!)
The browsers that these filters can help–
* Target/Filter out all Geckos or just Gecko 1.8 up
* Target/Filter out Internet Explorer 7 beta 3
* Target Safari, WebKit, Shiira and OmniWeb 5
* Target Opera 9 (and recent WebKits)
* Target only Konqueror 3.4.3 up
There are some caveats with these, so you need to look at your stats and apply them judiciously. Apparently Konqueror supports standards better, in some ways, than Safari, but hacks aimed at fixing Safari will also affect Konqueror, which results in breakage in Konqueror, so make sure you either have someone to test in Konqueror OR a really good case to make via stats for not worrying overmuch about it.
I’m sure those of us in the web design trenches will find these VERY useful.
Technorati Tags: Safari Filter, Firefox Filter, css hacks, web design








