为HTML电子邮件设置样式的最佳做法 [英] Best practices for styling HTML emails

查看:245
本文介绍了为HTML电子邮件设置样式的最佳做法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为电子邮件通讯设计HTML模板。我了解到许多电子邮件客户端都忽略链接的样式表,其他很多(包括Gmail)忽略CSS块声明。是内联样式属性我唯一的选择吗?

I'm designing an HTML template for an email newsletter. I've learned that many email clients ignore linked stylesheets, and many others (including Gmail) ignore CSS block declarations altogether. Are inline style attributes my only choice? What are the best practices for styling HTML emails?

推荐答案

Campaign Monitor有一个优秀的支持矩阵,详细说明了支持的功能以及各种邮件客户端之间不支持的功能。

Campaign Monitor have an excellent support matrix detailing what's supported and what isn't among various mail clients.

您可以使用< a href =http://litmus.com/> Litmus 查看电子邮件在多个客户端上的显示方式,以及它们是否被过滤器捕获等。

You can use a service like Litmus to view how an email appears across several clients and whether they get caught by filters, etc.

这篇关于为HTML电子邮件设置样式的最佳做法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆