SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    858
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Tweaking html emails so they display correctly in gmail

    The following piece of code renders fine in almost every email client imaginable except for gmail, which shows the Testimonial Match Alert in black instead of white text. Does anyone know any way to force the color of text other than what I am doing below?

    Thank you!


    <tr>
    <td align="center" bgcolor="#337711" style="font-size: 25px; line-height: 25px; font-family: &quot;Droid Sans&quot;, Arial, Helvetica, sans-serif; color: #ffffff;">Testimonial Match Alert
    </td>
    </tr>
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Hm, each email client has its quirks, but I would expect that to work. Perhaps at least try changing

    &quot;Droid Sans&quot;

    to

    'Droid Sans'

    If that doesn't work, you could try wrapping a span around the text and applying the color on that.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •