This content displays everywhere except Outlook 2007
This content displays everywhere
Give it a go and let us know if you have any issues using it!

">
Skip to main content
26 Apr 2011

Conditional Statements for Outlook 2007

Placeholder Image

Here's a bit of code that's been floating around for ages (I think it first surfaced on Campaign Monitor's Blog ).So essentially what this does is it allows a piece of content to be hidden from display in Outlook 2007, but display everywhere else.

This could be used, for example, to hide a form element (forms don't work in Outlook, but do everywhere else) and display something else instead.

Essentially what's happening is there's a bit of css telling anything with the class .nooutlook not to display, and then the conditional statement hides that bit of CSS from everything except Outlook 07.


This content displays everywhere except Outlook 2007

This content displays everywhere

Give it a go and let us know if you have any issues using it!


See more posts