display:none doesn't work on Outlook 2007

后端 未结 12 1730
鱼传尺愫
鱼传尺愫 2020-12-15 23:24

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; }
         


        
12条回答
  •  轮回少年
    2020-12-16 00:18

    Outlook 2007 has limited support for CSS and HTML. Read this article for more information.

    If class-based CSS rules don't work, try ID-based CSS rules. Just try to keep your rules as simple as possible.

    You can use this tool to validate your HTML and CSS for use in Outlook 2007.

提交回复
热议问题