如何防止在 gmail 中压缩邮件宽度?
How do I prevent mail width compressing in the gmail?
我有一封固定宽度的邮件。但是 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 "conversation",并且所有内容都作为引号。在它之后,每个报价布局都停止了!!!即使没问题 earlier.Because gmail 使用此 "great" 功能减少了一半的样式!
这个问题是因为在应用中增加了font-size。为了防止增加,我在最后添加了这一行:
<div style="white-space:nowrap!important;line-height: 0; color: #ffffff;">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</div>
我有一封固定宽度的邮件。但是 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 "conversation",并且所有内容都作为引号。在它之后,每个报价布局都停止了!!!即使没问题 earlier.Because gmail 使用此 "great" 功能减少了一半的样式!
这个问题是因为在应用中增加了font-size。为了防止增加,我在最后添加了这一行:
<div style="white-space:nowrap!important;line-height: 0; color: #ffffff;">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</div>