我目前正在尝试为我的 html 电子邮件布局构建一个 if / else 以包含不同的表格标签。这就是我正在尝试的:
<!--[if mso]>
<table class="content-table" role="presentation" cellpadding="0" cellspacing="45" align="center" border="0">
<![endif]-->
<!--[if !mso]> <!---->
<table class="content-table" role="presentation" cellpadding="0" cellspacing="0" align="center" border="0">
<!-- <![endif]-->
</table>
因此,如果邮件在 Outlook 中打开,我会尝试使用不同的 beginn 标签开始我的表格。但这不起作用。怎么了?
这不是重复的!