简体   繁体   English

电子邮件新闻稿的HTML表问题

[英]HTML Table issue for email newsletter

I have coded up an EDM for email distribution and I'm having a slight rendering issue. 我已经为电子邮件分发编写了EDM,但出现了一个轻微的渲染问题。

My question is, why is it rendering like that in Outlook and what can I do to fix it? 我的问题是,为什么它在Outlook中呈现那样的外观,我该如何解决?

Also, if you look at it in the browser it's not quite right, mainly because I had to set a 9px bottom margin to .l4 . 另外,如果您在浏览器中查看它,则不太正确,主要是因为我必须将.px的底边距设置为.l4 Can someone recommend another way to go about this so it renders correctly cross browser and email client? 有人可以推荐解决此问题的另一种方法,以便它可以跨浏览器和电子邮件客户端正确呈现吗?

Thanks! 谢谢!

@Jonah Bishop, it is always a good idea to use nested tables in email marketing unless you use a flattened image. @Jonah Bishop,除非您使用扁平化的图像,否则在电子邮件营销中使用嵌套表始终是一个好主意。 CSS is tripped out by many online email apps like hotmail and inline styles on divs are problematic with many clients. 许多在线电子邮件应用程序(例如hotmail)和CSS都使CSS脱颖而出,并且div上的内联样式对于许多客户端来说是有问题的。 By problematic, I mean it is challenging to write inline styles that work well across all email clients. 有问题的意思是,编写在所有电子邮件客户端上都能正常工作的内联样式具有挑战性。

What are you using to test your emails? 您正在使用什么来测试您的电子邮件? If your email marketing platform doesn't provide a testing suite, http://www.emailonacid.com/ is a good option. 如果您的电子邮件营销平台不提供测试套件,则http://www.emailonacid.com/是一个不错的选择。 http://litmus.com/ is another great option that works well with mailchimp. http://litmus.com/是与mailchimp配合使用的另一个不错的选择。 In fact mailchimp (fantastic service) enables you to use litmus from your account: http://blog.mailchimp.com/tag/litmus/ 实际上,mailchimp(出色的服务)使您可以从帐户中使用石蕊: http : //blog.mailchimp.com/tag/litmus/

Some tips: http://kb.mailchimp.com/article/how-to-code-html-emails 一些提示: http : //kb.mailchimp.com/article/how-to-code-html-emails

This is a great resource too: http://www.campaignmonitor.com/css/ 这也是一个很棒的资源: http : //www.campaignmonitor.com/css/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM