如何使用CSS在所有电子邮件客户端中隐藏表 [英] How To Make Table Hide in all Email Client Using CSS

查看:77
本文介绍了如何使用CSS在所有电子邮件客户端中隐藏表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用这样的方式写了一下使用C#代码在电子邮件html正文中传递div



I have write this way pass div in email html body using C# code

<div style='display:none !important; visibility:hidden; opacity:0; color:transparent; height:0; width:0; mso-hide:all; line-height:0px; 
font-size:0px'>DATA'</div>

推荐答案

您可以尝试使用
display: none

而不是

visibility: hidden

in the style。

in the style.


这篇关于如何使用CSS在所有电子邮件客户端中隐藏表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆