Is there a html conditional statement for everything not Outlook?
HtmlEmailHtml Problem Overview
I found a snippet of code that allows me to target clients that have outlook 2007 or higher.
<!--[if gte mso 9]><![endif]-->
Is there anyway to target everything but outlook or outlook 2007 & higher? If you're giving an answer please give working code as I've tried
<!--[if ! mso 9]>
<!--[if ! mso]>
<!--[if !(mso)]>
None of the following worked in Gmail with firefox.
Html Solutions
Solution 1 - Html
Try this:
<!--[if !mso]>-->
content targeted at non-outlook users goes here...
<!--<![endif]-->
Solution 2 - Html
To prevent statements being stripped in outlook.com, change <!-->
to <!-- -->
-
<!--[if !mso]><!-- -->
All Except MSO 07-13
<!--<![endif]-->
Solution 3 - Html
Super late response, but hopefully this will help someone. This worked for me:
<!--[if !gte mso 9]><!---->
<p>I'm not Outlook 2007/2010.</p>
<!--<![endif]-->
Edit: Answered above, but extra tags on the IF statement are to hide the tags from being revealed in IE7/8.
Solution 4 - Html
That's is a solution:
<!--[if !mso]><!-->
content without use in IE or Outlook
<!--<![endif]-->
I think so you can first resolve in IE, Outlook and denied with this for putting the elementss for all differents clients for email without Outlook.
regards
Solution 5 - Html
That's not how you have to use it. Instead it is, for everything except Outlook
- normal routine, for Outlook
- do specific. Not the other way around like you're trying to do.
Solution 6 - Html
Microsoft defines a way to write conditional HTML that will be revealed in those clients that don't understand Microsoft's proprietary "conditional comments":
<![if !mso]> HTML meant for non-Outlook clients <![endif]>
They call it a "downlevel-revealed conditional comment", though it's not actually a comment at all, since comments start with <!--
. Microsoft Office and Internet Explorer process the conditional statement (!mso
evaluates false in Outlook), while other clients ignore the unrecognized tags. See Microsoft's documentation on conditional comments.
Solution 7 - Html
Conditionals in comments like <!--[if gte mso 9]...
is IE specific. Will not work in other browsers.