【发布时间】:2019-10-06 09:13:12
【问题描述】:
我在 html 中有一个条件,它应该显示一个特定的 td,这取决于它是通过 Outlook 桌面还是其他方式查看的。
<table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin: auto;">
<tr>
<!--[if !(mso)]>
<td style="background-color: #4400c9; border-radius: 10px 10px 0px 0px;">
<![endif]-->
<!--[if mso]>
<td style="background: url('');">
<![endif]-->
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
希望有人能指出我的情况有什么问题。 谢谢。
【问题讨论】: