Ravi Sharma
Ravi Sharma

Reputation: 123

Web safe fonts not working in emailers for gmail

I am trying to use web safe fonts like:'Tahoma','Lucida','Helvetica' in an emailer for gmail but its not working everything is falling back to 'Arial'. I have tried 'inline css' but still no success but I have seen a mailer from 'Apple' using 'Lucida Grande'...any help will be appreciated

Upvotes: 1

Views: 378

Answers (1)

Ted Goas
Ted Goas

Reputation: 7577

If you declare a font stack using inline CSS, system fonts will display in every version of Gmail (every web browser, every mobile client) provided said font is installed in system. Just like web pages.

<td style="font-family: Tahoma, Lucida, Helvetica, sans-serif;">
    Text goes here.
</td>

For best results, place the inline font declaration on the lowest level HTML tag relative to the text.

✖ Not this:

<td style="font-family: Tahoma, Lucida, Helvetica, sans-serif;">
    <span style="color: #000000;">
        Text goes here.
    </span>
</td>

✔ Instead this:

<td>
    <span style="color: #000000; font-family: Tahoma, Lucida, Helvetica, sans-serif;">
        Text goes here.
    </span>
</td>

Upvotes: 0

Related Questions