html - 如何在电子邮件中应用内联 Cufon 样式?

标签 html css

我正在尝试为 HTML 电子邮件使用 Cufon 的内联样式。有没有办法实现 Cufon 内联样式?

 @font-face {
  font-family: 'Cuprum';
  font-style: normal;
  font-weight: 400;
  src: local('Cuprum'), local('Cuprum-Regular'), url(http://themes.googleusercontent.com/static/fonts/cuprum/v4/sp1_LTSOMWWV0K5VTuZzvQ.woff) format('woff');
}
@font-face {
  font-family: 'Cuprum';
  font-style: normal;
  font-weight: 700;
  src: local('Cuprum Bold'), local('Cuprum-Bold'), url(http://themes.googleusercontent.com/static/fonts/cuprum/v4/SfDyn5tWOk7I1we45jpLKz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');

最佳答案

抱歉,您不能在电子邮件中使用 Cufon。 HTML 电子邮件就像 8 年前的网络。要获得不错的跨电子邮件浏览器结果,您最好保持简单并使用图像替换字体,我敢说,甚至使用表格进行布局。

这是一个很好的资源。它清楚地列出了您可以做什么和不能做什么。

http://www.emailology.org/

关于html - 如何在电子邮件中应用内联 Cufon 样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12668573/

相关文章:

css - Razor View 引擎数据输入表单

Javascript - 单击事件在 "infinite scroll"之后不再起作用

html - 为分页符实现 CSS 样式 "breaks"R Markdown 中的目录

html - td 的指定大小

css - ng-select 使用图像 url 更改下拉箭头

javascript - 如果表 <td> 标签为空或 null,如何隐藏整个 <div>?

css - 仅在 css3 中显示元素?

html - 当您无法在 html 中正确定位图像时该怎么办?

php - 使用自定义条件在 PHP 中分解数据

javascript - 是否可以透视子 div?