Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: not2easy
How to target only IE/Mac with a style sheet, but leave all other browsers unaffected?
IE/Mac's CSS engine is way better than IE/Win. But, there are times when a few minor changes are required to cause it to render a page correctly. However, these fixes/changes sometimes causes the page to break in other browsers. Until recently, there was no solution that could target IE/Mac only AND validate. Until now...
It's a variant of the commented backslash hack. Except, in this case, the backslash is used to hide the comment from IE/Mac. Only IE/Mac will load the style sheet. And, it validates! :)
The import rule itself is only recognized by IE/Mac. But, it doesn't validate. So, another hack must be used to hide the import rule from the validator (and all other browsers) but still let IE/Mac through. Thus, the hack is now officially named "The Double Hack".
I often feel bad for the way I treat Mac IE visitors, but I know they are "used to it". Nevertheless, you've apparently come up with something a lot more important than getting NN4 to behave!