Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Outlook电子邮件中页眉和页脚图像的额外填充_Html_Css_Email - Fatal编程技术网

Html Outlook电子邮件中页眉和页脚图像的额外填充

Html Outlook电子邮件中页眉和页脚图像的额外填充,html,css,email,Html,Css,Email,我正在Convio中设计一封电子邮件,由于某些原因,Outlook 2010和2013中的页眉和页脚图像在左侧和顶部/底部(分别)有额外的填充。我在谷歌上搜索了这个,并使用了电子邮件中关于Acid和石蕊的技巧。。。就我的一生而言,我不知道填充物是从哪里来的。我想再多看一眼会有帮助的。希望我错过了一些愚蠢的事情。谢谢你的帮助 这是代码。由于它是在Convio中构建的,所以没有头部或身体标记,因为Convio不支持完整的HTML电子邮件,只支持其模板中的内容 这是我的CSS。这主要是为了帮助雅虎正确

我正在Convio中设计一封电子邮件,由于某些原因,Outlook 2010和2013中的页眉和页脚图像在左侧和顶部/底部(分别)有额外的填充。我在谷歌上搜索了这个,并使用了电子邮件中关于Acid和石蕊的技巧。。。就我的一生而言,我不知道填充物是从哪里来的。我想再多看一眼会有帮助的。希望我错过了一些愚蠢的事情。谢谢你的帮助

这是代码。由于它是在Convio中构建的,所以没有头部或身体标记,因为Convio不支持完整的HTML电子邮件,只支持其模板中的内容

这是我的CSS。这主要是为了帮助雅虎正确呈现电子邮件

<style type="text/css">
.ExternalClass {width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
.ExternalClass img {line-height: 100%;}
body {-webkit-text-size-adjust:none; -ms-text-size-adjust:none;}
body {margin:0; padding:0;}
table td {border-collapse:collapse;}
p {margin:0; padding:0; margin-bottom:0;}
h1, h2, h3, h4, h5, h6 {color: black; line-height: 100%;}
a, a:link {color:#2ba6cb;text-decoration: underline;}      
span.yshortcuts { color:#000; background-color:none; border:none;}
span.yshortcuts:hover, span.yshortcuts:active, span.yshortcuts:focus {color:#000; background-color:none; border:none;}
a:visited { color: #005581; text-decoration: none} 
a:focus   { color: #005581; text-decoration: underline}  
a:hover   { color: #82a535; text-decoration: underline}
table {margin:0; padding:0;}
img {display:block; margin:0; padding:0;}
#cv-poweredBy {visibility: hidden;}
</style>

.ExternalClass{宽度:100%;}
.ExternalClass、.ExternalClass p、.ExternalClass span、.ExternalClass font、.ExternalClass td、.ExternalClass div{行高:100%;}
.ExternalClass img{线高度:100%;}
正文{-webkit文本大小调整:无;-ms文本大小调整:无;}
正文{margin:0;padding:0;}
表td{边框折叠:折叠;}
p{margin:0;padding:0;margin-bottom:0;}
h1,h2,h3,h4,h5,h6{颜色:黑色;线条高度:100%;}
a、 a:链接{颜色:#2ba6cb;文本装饰:下划线;}
span.yshortcuts{color:#000;背景色:无;边框:无;}
span.yshortcuts:悬停,span.yshortcuts:活动,span.yshortcuts:焦点{color:#000;背景色:无;边框:无;}
a:访问{颜色:#005581;文字装饰:无}
a:焦点{颜色:#005581;文本装饰:下划线}
a:悬停{颜色:#82a535;文本装饰:下划线}
表{margin:0;padding:0;}
img{显示:块;边距:0;填充:0;}
#cv poweredBy{visibility:hidden;}
这是我的HTML

<div align="center">
<!-- BLUE BACKGROUND -->
<table style="background-color: #005581; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; table-layout: fixed; margin: 0 auto; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#005581">
<tr>
<td valign="top">

<!-- TOP LINKS -->
<center>
<table style="background: #005581; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 16px;" border="0" cellspacing="0" cellpadding="0" width="600" align="center" bgcolor="#005581">
<tbody>
<tr>
<td style="font-size: 14px; padding-top: 30px; padding-bottom: 30px;" align="center">
  <a style="color: #ffffff; text-decoration: none;" href="http://[[S29:DOMAIN]]/site/TellAFriend">Forward to a friend</a>
      &nbsp;&nbsp;&nbsp;
      <a style="color: #ffffff; text-decoration: none;" href="http://[[S29:DOMAIN]]/site/MessageViewer">View Web Version</a>
</td>
</tr>
</tbody>
</table>
</center>
<!-- END TOP LINKS -->

<center>
<!-- WHITE BACKGROUND -->
<table style="background-color: #ffffff;" border="0" cellspacing="0" cellpadding="0" width="600" align="center" bgcolor="#ffffff;">
<tr>
<td width="600" style="border-collapse:collapse;">
<a href="http://give.jhpiego.org/site/Donation2?df_id=1720&1720.donation=form1">
<img src="http://www.jhpiego.org/email-templates/2014-Holiday-Campaign/GivingTuesday/imgs/GivingTuesday-Header-rev.jpg" alt="Join the Fight Against Ebola This #GivingTuesday!" width="600" height="250" vspace="0" hspace="0" style="display:inline; padding:0; margin:0;" border="0"/>
</a>
</td>
</tr>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height:22px; color: #101010; text-align:left;" width="600">
<p style="padding: 20px">Dear Friends,<br><br>

As we celebrate <a href="http://give.jhpiego.org/site/Donation2?df_id=1720&1720.donation=form1" style="color: #99c525; font-weight:bold; text-decoration: none;">#GivingTuesday</a> today, we are honoring four courageous nurses who are working tirelessly to keep women and families safe from a highly infectious disease devastating West Africa. <strong>Marion Subah, Comfort Gebeh, Varwo Sirtor-Gbassie and Nyapu Taylor </strong> are members of the Jhpiego family.<br><br>

As the Ebola virus swept through their native Liberia, they went to work day after day, redoubling their efforts to ensure that health care providers on the frontlines had the specialized skills in infection prevention and control to work <a href="http://give.jhpiego.org/site/Donation2?df_id=1720&1720.donation=form1"><img style="float: right; padding: 10px;" src="http://www.jhpiego.org/email-templates/2014-Holiday-Campaign/GivingTuesday/imgs/GivingTuesday-CTA.jpg" alt="Help Stop The Ebola Epidemic! Donate Now" title="Help Stop The Ebola Epidemic! Donate Now" hspace="10" vspace="10" width="225" height="300" align="right" /></a>confidently and safely in health centers and hospitals. They also dedicated themselves to helping health facilities restore critically needed maternal and child health services so pregnant women and mothers do not die giving birth.<br><br>

These four women are respected colleagues, who, along with our dedicated staff in Ebola-impacted Guinea, are doing their utmost to prevent the needless deaths of women and their families in these countries. They embody <strong>Jhpiego's commitment to West Africa</strong>, where we have had a strong presence in both Liberia (14 years) and Guinea (21 years). Working successfully with the Ministries of Health and partners to strengthen health care systems and save lives, Jhpiego is on the ground, updating the skills of nurses and midwives so they can continue to provide quality care to vulnerable women and babies during this emergency.<br><br>

On this #GivingTuesday, as we focus on what makes <strong>Jhpiego</strong> unique, I invite you to be part of this global effort to save lives and help Marion, Comfort, Nyapu and Varwo in their prevention work.  <a style="font-weight: bold; color: #99c525; text-decoration: none;" href="http://give.jhpiego.org/site/Donation2?df_id=1720&1720.donation=form1">With your support, we can do even more beyond #GivingTuesday! Please help us contain this epidemic by investing in Jhpiego's work.</a> Thank you in advance for your serious consideration of this special request.</p>

<center>
<table style="background: #ffffff;" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff" width="400">
<tr>
<td width="130">
<img src="http://www.jhpiego.org/email-templates/2014-Fundraising-Emails/DayofGirl-LesliePhoto.jpg" alt="Photo of Leslie Mancuso" width="120" height="120" style="display:inline; padding-right: 20px;" />
</td>
<td width="270" font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height:22px; color: #101010; text-align:left;"">
<img src="http://www.jhpiego.org/email-templates/2014-Fundraising-Emails/Leslie-Signature.gif" alt="Leslie Mancuso's Signature" width="200" style="display:inline; padding:0; margin:0;" border="0" /><br />
Leslie Mancuso, PhD, RH, FAAN<br />
President and Chief Executive Officer
</td>
</tr>
</table>
</center>

<br>

</td>
</tr>

<tr>
<td width="600" style="border-collapse:collapse;">
<a href="http://give.jhpiego.org/site/Donation2?df_id=1720&1720.donation=form1">
<img src="http://www.jhpiego.org/email-templates/2014-Holiday-Campaign/GivingTuesday/imgs/GivingTuesday-Footer.jpg" alt="Marion Subah, Comfort Gebeh, Nyapu Taylor and Varwo Sirtor-Gbassie" width="600" height="200" vspace="0" hspace="0" style="display:inline; padding:0; margin:0;" />
</a>
</td>
</tr>

</table>
<!-- END WHITE BACKGROUND -->
</center>

<!-- FOOTER -->
<center>
<table style="background: #005581; font-family: Arial, Helvetica, sans-serif;" border="0"         cellspacing="0" cellpadding="0" width="600" align="center" bgcolor="#005581">
<tbody>
<tr>
<td style="background-color: #005581; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align:left; padding-right:50px; padding-top:25px; padding-bottom:100px; width:376px" width="376">
You are receiving this email because you have made a donation to Jhpiego in the past.<br><br>
We hate to see you go, but you can
<a style="color: #fff; text-decoration: underline;" href="http://[[S29:DOMAIN]]/site/CO">unsubscribe</a> if you no longer want to receive these messages.
<br /><br />
<strong>Don't forget to connect with us on:</strong><br /><br />
<a href="https://www.facebook.com/Jhpiego"><img style="display: inline;" title="Facebook" src="http://give.jhpiego.org/images/content/pagebuilder/alumni-facebook.png" border="0" alt="Facebook" /></a>&nbsp;
<a href="https://twitter.com/jhpiego"><img style="display: inline;" title="Twitter" src="http://give.jhpiego.org/images/content/pagebuilder/alumni-twitter.png" border="0" alt="Twitter" /></a>
</td>
<td style="background-color: #005581; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 10px; text-align:right; padding-top:25px; width:174px" width="174" valign="top">
<a href="http://www.jhpiego.org"><img src="http://give.jhpiego.org/images/content/pagebuilder/Jhpiego_logo_wh_PMS.png" border="0" alt="Visit Jhpiego's Website" width="174" height="73"/></a><br><br>
1615 Thames Street<br />
Baltimore, MD 21231<br />
410-537-1800
</td>
</tr>
</tbody>
</table>
<center>
<!-- END FOOTER -->

</td>
</tr>
</table>
<!-- END BLUE BACKGROUND -->

</div>

亲爱的朋友们,

在我们今天庆祝的时候,我们要向四位勇敢的护士致敬,他们不懈地工作,使妇女和家庭免受一种毁灭性西非的高度传染性疾病的危害Marion Subah、Comfort Gebeh、Varwo Sirtor Gbassie和Nyapu Taylor都是Jhpiego家族的成员。

当埃博拉病毒席卷他们的祖国利比里亚时,他们日复一日地工作,加倍努力确保前线的医疗服务提供者拥有感染预防和控制方面的专业技能,能够自信而安全地在医疗中心和医院工作。他们还致力于帮助卫生机构恢复急需的妇幼保健服务,使孕妇和母亲在分娩时不会死亡。

这四名妇女是受人尊敬的同事,她们与我们在受埃博拉影响的几内亚的敬业工作人员一道,正在尽最大努力防止这些国家妇女及其家人不必要的死亡。它们体现了Jhpiego对西非的承诺,在西非,我们在利比里亚(14年)和几内亚(21年)都有强大的存在。Jhpiego成功地与卫生部和合作伙伴合作,以加强卫生保健系统和拯救生命。Jhpiego正在实地更新护士和助产士的技能,以便他们能够在紧急情况下继续为弱势妇女和婴儿提供优质护理。

在本周二的颁奖典礼上,当我们关注Jhpiego的独特之处时,我邀请你们参与拯救生命的全球努力,并帮助Marion、Comfort、Nyapu和Varwo开展预防工作。提前感谢您认真考虑这一特殊要求


莱斯利·曼库索博士,右,联邦航空局
总裁兼首席执行官
您收到此电子邮件是因为您过去曾向Jhpiego捐款。

我们不想看到你走,但你可以 如果您不想再接收这些消息。

别忘了与我们联系:



泰晤士河街1615号
马里兰州巴尔的摩21231
410-537-1800
Outlook使用Word2007 HTML引擎。不要依赖CSS。你也应该使用HTML 4.01 Strict。你能告诉我代码中的问题在哪里吗?你的评论对我没什么帮助。我更新了代码,以便您可以看到我在Convio中实际使用的内容。实际上,由于Convio的工作方式,我在DocType中没有选择权。该工具可以帮助您验证Outlook的代码。