iOS Mail中的HTML签名

时间:2013-11-28 16:30:15

标签: html ios css email

我在iOS中的邮件应用程序出现问题,调整了我的HTML签名的图像和文本,我有另一个HTML签名似乎没有调整大小,但是这个是。在iOS邮件应用程序上查看时,文本和图像比它们应该大得多。我尝试了各种不同的视口元标记变种,但没有用。

以下是我的电子邮件签名的HTML代码:

<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width" />
</head>

<body style="word-wrap: break word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Tahoma;">

<table cellspacing="0" cellpadding="6" border="0" style="color: #333;" width="480">
  <tbody>
    <tr>
      <td width="130" rowspan="6" style="width: 1px;"><a href="http://www.unbiased-advice.co.uk/" target="_blank"><img width="130" style="padding-right: 22px; border-right: 1px solid #EEE;" src="http://www.unbiased-advice.co.uk/email-signature/email-logo.gif"/></a></td>
      <td width="350" style="padding: 6px 0 0 13px; font-size: 9pt; color: #444; table-align: left;">Kind Regards,</td>
    </tr>
    <tr>
      <td style="padding: 5px 0 6px 13px;"><span style="font-size: 17pt;">Forename Surname</span></td>
    </tr>
    <tr>
      <td rowspan="2" style="padding: 0 0 0 13px;"><img src="http://www.unbiased-advice.co.uk/email-signature/ian-hurst-signature.gif" /></td>
    </tr>
    <tr>
    </tr>
    <tr>
      <td style="padding: 6px 0 0px 13px; font-size: 10pt;">01722 123 456 <span style="color: #DDD;">|</span> <a style="color: inherit;" href="mailto:test@test.com">name@unbiased-advice.co.uk</a></td>
    </tr>
    <tr>
      <td><span style="padding: 6px 0 0px 5px; font-style: italic; font-size: 12px;">"Straight Forward Advice... In Black and White"</span></td>
    </tr>
    <tr>
      <td style="padding: 12px 0 6px 6px; font-size: 10pt;" colspan="2">
        <a href="https://www.facebook.com/HurstFinancial"><img src="http://www.unbiased-advice.co.uk/email-signature/facebook-logo.gif" style="display: inline-block; margin: 0 5px 0 0; vertical-align: top;"/></a><a style="color: inherit;" href="https://www.facebook.com/HurstFinancial">Facebook</a>
        <a href="https://www.facebook.com/HurstFinancial"><img src="http://www.unbiased-advice.co.uk/email-signature/twitter-logo.gif" style="display: inline-block; margin: 0 5px 0 5px; vertical-align: top;"/></a><a style="color: inherit;" href="https://twitter.com/hurstfinancial">Twitter</a> <span style="color: #DDD;">|</span>
        <a style="color: inherit;" href="http://www.unbiased-advice.co.uk">www.unbiased-advice.co.uk</a>
    </tr>
    <tr>
      <td colspan="2" style="padding: 5px 0 1px 6px; font-size: 10pt; color: #555;">35 Chequers Court, Brown Street, Salisbury, Wiltshire, SP1 2AS</td>
    </tr>
    <tr>
      <td colspan="2" style="font-size: 8pt; color: #AAA; padding-top: 12px;">
        <p>Hurst Financial Consultancy Limited is authorised and regulated for investment and mortgage advice by the Financial Conduct Authority Ref 448150.</p>
        <p>Our company registered office is: 35 Chequers Court, Brown Street, Salisbury, Wiltshire, SP1 2AS. Co. Registration Number 5616157.</p>
        <p>We accept no responsibility for the content of any e-mail as internet communications are not necessarily secure.</p>
        <p>Views or opinions presented are those of the author and do not necessarily represent those of Hurst Financial Consultancy Ltd.</p>
        <p>Anyone replying by e-mail to the author of this message (or e-mailing anyone else using the <a style="color: inherit;">anyone@unbiased-advice.co.uk</a> address) is advised that such e-mails may be<br> read by persons other than the intended recipient.</p>
        <p>No responsibility for viruses is assumed but reasonable steps are taken to ensure e-mail is virus free.</p>
        <p>If at any time you would prefer not to receive email from us please <a style="color: inherit;" href="mailto:unsubscribeme@unbiased-advice.co.uk">click here</a> (<a style="color: inherit;">unsubscribeme@unbiased-advice.co.uk</a>) and we will remove your address from future mailings.</p>
      </td>
   </tr>
  </tbody>
</table>

</body>

</html>

1 个答案:

答案 0 :(得分:0)

修复字体大小:

尝试使用px代替pt。后者通常用于打印介质,但可能无法在屏幕上正确显示。

修复图像:

width标记目前已弃用。您可以使用CSS指定宽度,如下所示:

style="width:150px
相关问题