1

Is there an email equivalent of the CSS property font-family? As emails don't embed the font, the reader has to have the font installed on their computer. If they don't, the font will render in Times New Roman (or another default font.)

Is there a way to define multiple backup or fallback fonts?

2 Answers 2

8

See this article about CSS in emails. Most mail clients don't support a head element in HTML emails, so non-inline CSS is out. This means you can't use CSS3's @font-face to declare custom fonts.

However, you can specify fallback fonts by separating multiple fonts with commas. For example:

font-family: Helvetica, Arial, sans-serif;
1
  • 3
    See article about web safe fonts, for a wider variety.
    – Meki
    Jun 27, 2012 at 16:10
1

If you are using Outlook or something similar, you can use HTML rather then CSS to encode Google Web Fonts, and have the fonts load up as a template each time you want to write an email.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.