Sorry, I’m sure this is an easy test but I don’t have access to IE right now and I’m putting in some conditionals. I know it would be an easy test if I did have IE in front of me.
Let’s say you have
<!--[if lt IE 8]>
<body>
<p>Some content</p>
</body>
<![endif]-->
<!--[if (gt IE 8)|!(IE)]><!-->
<body>
<p>Some Different content</p>
</body>
<!--<![endif]-->
This would exclude IE8 and so in theory/practice it would display nothing, correct? Again, sorry I don’t have IE in front but I need to know before I can get a chance to get to it. Thanks.
You should use either
gteorlteto include IE8 in one of those conditionals. Further, keep in mind that Internet Explorer 10 (soon to be released) will no longer respect Conditional Comments. As such, you’ll need to explicitly push your document into IE9 (or lower) mode:This way, the browser continues to interpret your conditional comments on into the future.
Further Reading: About Conditional Comments » Syntax of Conditional Comments