【发布时间】:2015-11-22 15:04:07
【问题描述】:
我完全是 css 初学者,并且从 FileMaker(数据库)发送 html/css 邮件。我已经阅读了http://www.w3.org/Style/Examples/007/units.en.html 关于字体大小的内容。我希望能够为邮件设置标准字体大小,并为此使用 px,因为它应该是绝对大小。如果我将邮件从 Windows 发送到 Windows,或从 Mac 发送到 Mac,大小保持不变,但在 Mac 上 1 px 似乎是 1 pt(1/72 英寸),而在 Windows 上是 1/96 英寸。 html 看起来像:
<html>
<head>
<style type='text/css'>
body
{
font-family: 'Arial';
font-size: 14px;
font-style: normal;
}
</style>
</head>
<body>
<SPAN STYLE= "" ><BR><BR>text</SPAN>
</body>
</html>
将邮件从 Mac 发送到 Windows 会导致字体更小,而从 Windows 发送到 Mac 会导致字体更大。我做错了什么?
【问题讨论】: