How to stop change of colour on hyperlinks in HTML Emails

Notice the change of colour of "contact us" from an email viewed in Outlook. The colour was blue. When clicked, it changed to magenta. Some people may not want this change of colour. Let us see how this can be fixed. Other CSS tricks failed many times. So try this.

Outlook is notorious in changing colour on visited links.  The solution lies in defining the colour again and again. First create a class in CSS like .blue{color:#0079C1;} Use this class repeatedly in the html link you work on.

<a href="#" class="blue" style="color:#0079C1;"><font class="blue" color="blue" style="color: #0079C1;"><span class="blue" style="color: #0079C1;">Link Text</span></font></a> 

Replace blue and  #0079C1 with your choice of colour.

Comments

Popular posts from this blog

How to select and cut out an image in Krita

Transform and Stretch an image in Krita

Joomla error: Your site may not have been upgraded completely