在电子邮件模板中,应该是font-size是pt还是px? [英] In email templates, should font-size be in pt or px?

查看:236
本文介绍了在电子邮件模板中,应该是font-size是pt还是px?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个电子邮件模板,我正在努力使用MS Word字体大小进行测量。作为打印介质,这是在 pt 中。但是,电子邮件是基于屏幕的媒体( https://stackoverflow.com/a/3557275/989852 )。

I am creating an email template, the specs that I am working to have the measurements in MS word font size. Being a print medium, this is in pt. However email is a screen based medium (https://stackoverflow.com/a/3557275/989852).

如果电子邮件模板中的字体大小(以及所有其他尺寸)在 pt px

Should the font-sizes (and all other dimensions for that matter) in an email template be specified in pt or px?

推荐答案

摘录 :Paul Dyke - http://www.adestra.com/什么需要知道使用的字体在电子邮件/

(Excerpt: Paul Dyke - http://www.adestra.com/what-need-know-using-fonts-in-email/)


em 不适用于电子邮件中的字体,因为电子邮件客户端具有不同的默认大小。

em doesn’t work with fonts in email as email clients have different default sizes.

是另一个可缩放字体单元,类似于em除外100%将始终等于默认大小。

% is another scalable font unit, similar to em except 100% will always equal the default size.

pt 有时使用。一点等于1/72英寸。但是为什么要使用一个对印刷行业有回报的单位?

pt is sometimes used. One point is equal to 1/72 of an inch. But why use a unit that is a throwback to the printing industry?

在我看来,像素是最好的选择。电子邮件设计通常是像素完美的 - 不同表格单元中的许多切片图像必须显示无缝。让你的文本以类似的方式行事是有道理的。

In my opinion, pixels are the best option. Email designs are often pixel perfect – lots of sliced images in different table cells that have to appear seamless. Having your text behave in a similar way makes sense.

这也是我的看法

这篇关于在电子邮件模板中,应该是font-size是pt还是px?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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