Need Inline Link Color for HTML Email

Posted on 2011-10-25
Last Modified: 2012-05-12
I have a link in the email I want to style to be a different color.  I have tried various suggestions and none seem to work.

I have this code now.
<style type="text/css">
.spanish {font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #FF0000;}

Open in new window

<p> <a class="spanish" href="">¿Habla Espanol?</a>

Open in new window

Please help.


Question by:sharingsunshine
    LVL 3

    Accepted Solution

    have you tried this

    <p> <a style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #FF0000;" href="">¿Habla Espanol?</a>

    some html email are fussy and dont recognise classes

    Author Comment

    That did it.  Thanks for your help.

    For those who will read this later the inverted question mark does need to be encoded so here is the corrected code.  We also added the tilde over the n.

    <p> <a style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #FF0000;" href="">&iquest;Habla Espa&ntilde;ol?</a>

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
    CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
    In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now