conditional comments for IE and non-IE browsers

Just ran across this over on CSS PLaY, if you’ve never been over to this site definitely check it out, Stu Nicholls has some awesome stuff. The normal conditional comments I’ve seen, but he poses solutions for Non-IE and an IE 6 or Non-IE conditional comment.

<!--[if !IE]><!-->
<h1>You are NOT using Internet Explorer</h1>
<!--<![endif]-->
<!--[if IE 6]><!-->
<h1>You are using EITHER Internet Explorer version 6<br />
OR a non-IE browser</h1>
<!--<![endif]-->
Posted in CSS
2 comments on “conditional comments for IE and non-IE browsers
  1. Maxinsao2006 says:

    The content of your show is great, I really enjoy it.

  2. Marco says:

    ah, I’ve been looking for a XSLT-compatible solution for !IE for a while. Thank you.