1

I am using Marketo to send e-mails. Within these e-mails I am using font awesome to create the social media icons. However it is not appearing in the e-mail when it is sent.

To import the font I am using the following:

<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
4

1 回答 1

0

最佳做法是避免使用外部样式表,因为大多数电子邮件客户端会阻止它们。也就是说,你在正确的轨道上。以下是如何执行此操作:

  1. 加载外部样式表。

    <link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
    
  2. 在 CSS 中引用 font-family。

    h1 { font-family: 'Lato', sans-serif; font-weight: 400; }
    
于 2015-01-17T00:18:11.030 回答