Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

display:none doesn't work on Outlook 2007

Tags:

css

outlook

I want to send an e-mail from our system to customers, where some tags should be hidden to them. I've set the following CSS:

.hidden { display: none; }

But this does not work. What solutions or alternatives are there for hiding elements in an e-mail?

like image 382
chris Avatar asked Apr 27 '10 06:04

chris


1 Answers

Use mso-hide:all in a span surrounding the content, and on any other tags within the span.

like image 79
Brian Thies Avatar answered Sep 28 '22 10:09

Brian Thies