这实际上是我第一次发布问题,但我通常在这里“总是”找到答案。你们太棒了!...
以下是我的问题(相信我,我已经尝试过寻找答案)。 我使用标准的HTML/内联CSS和表格创建了电子邮件签名。它看起来几乎到处都很好,并且适用于许多不同的电子邮件客户端…除了iPhone/iPad
我附上了我代码的精确副本以及它在iPhone上应该看起来的图像(在我测试的其他地方,如hotmail、live、gmail、office 365、roundcube等,它看起来很好)。看起来iPhone将字体/文本呈现为固定大小,而不是遵守我使用的字体大小。我已经尝试从div到表格,从将样式从td移动到spans等微调我的html代码,但没有效果。
*注意:它不允许我上传图像,所以我已经在网上上传了: http://www.ileansolutions.com/ditthavong/uploads/images/test_email_signature.jpg
<table width="400" cellpadding="0" cellspacing="0" cols="2">
<tr>
<td width="400" colspan="2"><img src="http://ileansolutions.com/ditthavong/uploads/images/ditthavong_em_sig.jpg" width="400" height="34" /></td>
</tr>
<tr>
<td width="400" colspan="2" style="background-color:#999999; color:#ffffff; width:auto; height:10px;"></td>
</tr>
<tr>
<td width="400" colspan="2" style="padding: 10px 0 5px 0;"><span style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#717070; font-size:17px;">Kevin Smith</span></td>
</tr>
<tr>
<td width="180"><span style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:11px;">Office 703.500.9900</span></td>
<td width="220" style="text-align:right;"><span style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:11px;">44 Canal Center Plaza, Suite 322</span></td>
</tr>
<tr>
<td width="190"><span style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:11px;">Direct 703.500.9900</span></td>
<td width="210" style=" text-align:right;"><span style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:11px;">Alexandria, Virginia 22314 USA</span></td>
</tr>
<tr>
<td width="400" colspan="2" style="background-color:#ffffff; color:#ffffff; width:auto; height:10px;"></td>
</tr>
<tr>
<td width="400" colspan="2" style="background-color:#999999; padding: 5px 0 5px 5px;"><span style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#ffffff; font-size:14px;">email@domain.com</span></td>
</tr>
</table>
<br/>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<span style="font-size:11px; font-weight:bold;">******** PRIVILEGED AND CONFIDENTIAL COMMUNICATION *********</span>
<br/>
<span style="font-size:11px;">THIS MESSAGE IS BEING SENT FROM THE LAW OFFICES OF SO AND SO ETC. THIS MESSAGE IS BEING SENT FROM THE LAW OFFICES OF SO AND SO ETC. THIS MESSAGE IS BEING SENT FROM THE LAW OFFICES OF SO AND SO ETC. THIS MESSAGE IS BEING SENT FROM THE LAW OFFICES OF SO AND SO ETC. THIS MESSAGE IS BEING SENT FROM THE LAW OFFICES OF SO AND SO ETC. </span>
</td>
</tr>
</table>