我有固定宽度的邮件。但是gmail压缩它。如何防止压缩?
<table bgcolor="#F3F3F3"
style="Margin:0;margin:0;padding: 0;font-family:'Arial',sans-serif;max-width:100%;padding:0;width:100%;background:#F3F3F3;">
<style>
a{
text-decoration: none;
color: inherit;
color: inherit !important;
}
@media print{
body, html{
-webkit-print-color-adjust: exact;
}
}
</style>
<tbody>
<tr>
<td>
<center>
<table width="600" bgcolor="#6999CC"
style="Margin:0 auto;margin:0 auto;max-width:100%;width:600px;background:#6999cc;">
<tbody bgcolor="#6999CC" style="background: #6999CC">
<tr bgcolor="#6999CC" style="background: #6999CC">
<td bgcolor="#6999CC" style="background: #6999CC">
<center bgcolor="#6999CC" style="background: #6999CC">
<table>
<tbody>
<tr>
<td height="4" style="height: 4px;line-height: 4px;"> </td>
</tr>
</tbody>
</table>
<!--spacer-->
<table cellpadding="0" cellspacing="0" border="0" width="570" ...
在其他应用中,我没有这个问题。我已尝试修复所有图层,包装纸的宽度应为100%。有没有让gmail理解宽度的技巧?
如果我有几个字母,则gmail可以进行“对话”,而所有内容都可以作为引号。之后,每个报价布局都会刹车!!!即使早日还可以。因为gmail使用此“出色”功能可减少一半样式!
答案 0 :(得分:0)
此问题是由于应用程序中的字体大小增加。为了防止增加,我在最后添加了以下行:
<div style="white-space:nowrap!important;line-height: 0; color: #ffffff;">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</div>