Forum Moderators: open
<html>
<body>
<!--[if IE]>
<p>I am IE</p>
<[endif]-->
</body>
</html>
var isIE = ( (navigator.appName == "Microsoft Internet Explorer"))? true:false;
Then, throughout the page I would
<script>if(isIE){document.write()}</script>
etc.
Worked for quite a while, but now with the newer browsers I don't even check anymore.
The problem for me is that I need to target IE/Mac with some specific CSS to compensate for some of its quirks, while utilizing its much better CSS engine than it's Windows cousin.
Have you tried this hack?:
[sam-i-am.com...]
It looks as if it fits the bill...
However, I found a solution that double-hides from all browsers but IE/Mac :)
[webmasterworld.com...]