我的电子邮件内容块在 Outlook 中无法按我希望的方式运行。该块还需要在移动设备上工作,并且在浏览器/桌面上应如下所示:
。
在所有浏览器中,这看起来都很完美,除了 Outlook。在 Outlook 中,它从按钮中删除了整个白色背景颜色(实际上将其减少到文本内容),看起来非常糟糕:

这是我的盒子代码:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center">
<table bgcolor="#f5f5f5" border="0" cellpadding="0" cellspacing="0" class="w-full" width="640">
<tr>
<td width="20"> </td>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" dir="ltr" width="100%">
<tr>
<td class="full" dir="ltr" valign="top" width="50%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!--TABLE WITH IMAGE PART-->
<tr>
<td height="15" style="font-size: 1px; line-height: 1px;"> </td>
</tr>
<tr>
<td align="center"> <img src="http://placehold.it/170x170" style="display: block; border: 0;" width="170"></td>
</tr>
<tr>
<td height="15" style="font-size: 1px; line-height: 1px;"> </td>
</tr> …Run Code Online (Sandbox Code Playgroud)