2

我刚刚购买了一项名为 WiseStamp 的电子邮件签名模板服务。当我在 Outlook2010 中测试模板时,它们无法正确呈现,事实上格式化是没有希望的!

有人可以看看我的代码吗?它在网络浏览器中运行良好,在 Thunderbird 中完美运行,这让我发疯!

    <div style="font-family: sans-serif; line-height: 15px; width: 440px; empty-cells: show;">
<div style="font-family: sans-serif; line-height: 15px; text-transform: capitalize; border-bottom-color: #B8B8B8; border-bottom-width: 1px; border-bottom-style: dashed; padding-bottom: 4px; width: 440px; empty-cells: show;"><span class="text-color" style="font-family: arial,helvetica,sans-serif; font-size: 17.3333px; font-weight: bold; line-height: 21px; text-transform: capitalize; color: #eb1c23; border-color: #eb1c23; empty-cells: show;">Guy Rogers</span><img style="font-family: sans-serif; line-height: 15px; text-transform: capitalize; height: 50px; width: 200px; display: block; float: right; empty-cells: show;" src="http://bn1.so/radarone/radaronelogo.png" alt="" /><br style="font-family: sans-serif; line-height: 15px; text-transform: capitalize; width: 0px; empty-cells: show;" /> <span style="font-family: arial,helvetica,sans-serif;">Director , Radar One Ltd</span>&nbsp;</div>
<table style="font-family: sans-serif; line-height: 15px; width: 440px; empty-cells: show; border-color: #000000;" border="0">
<tbody style="font-family: sans-serif; line-height: 15px; width: 436px; border-spacing: 2px 2px; empty-cells: show; border-color: #000000;">
<tr style="font-family: sans-serif; line-height: 15px; width: 436px; border-spacing: 2px 2px; empty-cells: show; border-color: #000000;" valign="top">
<td style="font-family: 'Times New Roman',georgia,serif; font-style: italic; line-height: 15px; vertical-align: top; color: #828282; padding-top: 1px; padding-right: 25px; padding-bottom: 1px; padding-left: 1px; width: 410px; border-spacing: 2px 2px; empty-cells: show; border-color: #828282;">
<div style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #828282; width: 410px; border-spacing: 2px 2px; empty-cells: show; border-color: #828282;"><span style="font-size: small;"><strong class="text-color" style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #eb1c23; border-spacing: 2px 2px; empty-cells: show; border-color: #EB1C23;">t.</strong> 01273 806484</span></div>
<div style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #828282; width: 410px; border-spacing: 2px 2px; empty-cells: show; border-color: #828282;"><span style="font-size: small;"><strong class="text-color" style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #eb1c23; border-spacing: 2px 2px; empty-cells: show; border-color: #EB1C23;">m.</strong> 07786 546 230</span></div>
<div style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #828282; width: 410px; border-spacing: 2px 2px; empty-cells: show; border-color: #828282;"><span style="font-size: small;"><strong class="text-color" style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #eb1c23; border-spacing: 2px 2px; empty-cells: show; border-color: #EB1C23;">e.</strong> guy.rogers@radarone.co.uk</span></div>
<div style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #828282; width: 410px; border-spacing: 2px 2px; empty-cells: show; border-color: #828282;"><span style="font-size: small;"><strong class="text-color" style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #eb1c23; border-spacing: 2px 2px; empty-cells: show; border-color: #EB1C23;">w.</strong> http://www.radarone.co.uk</span></div>
<div style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #828282; width: 410px; border-spacing: 2px 2px; empty-cells: show; border-color: #828282;"><span style="font-size: small;"><strong class="text-color" style="font-family: sans-serif; font-style: italic; line-height: 15px; color: #eb1c23; border-spacing: 2px 2px; empty-cells: show; border-color: #EB1C23;">a.</strong> Albert House, 82 Queens Road, Brighton, East Sussex, BN1 3TL</span></div>
</td>
</tr>
</tbody>
</table>
</div>
4

1 回答 1

0

Outlook 有许多 HTML 和 CSS 禁忌

查看: http: //www.campaignmonitor.com/resources/will-it-work/看看你是否能找到你的代码的哪一部分造成了问题

于 2013-09-05T11:49:24.900 回答