After utilizing the HTML email templates from a reliable source like , I noticed an issue with the default blue underline on all links in the emails. This problem occurred specifically when viewed in Hotmail and Gmail, despite appearing fine in Outlook 2007.
I attempted inline styling of the link tag to address this concern:
<a href="./" style="color: #E3A216; text-decoration: none;">Mauris commodo hendrerit risus</a>
Coincidentally, sending the same HTML template code from one Hotmail account to another worked seamlessly, indicating that Outlook 2007 may be the root cause of the issue.
Upon dissecting the HTML code received by the Hotmail recipient, it was evident that Outlook appends a stylesheet to the email content. Here is what is included:
<style>
.ExternalClass .ecxshape
{;}
</style>
... (Other stylesheets provided by Outlook)
</style>
The ".ExternalClass" selector appears to dictate the link attributes, potentially conflicting with my inline styling efforts.
Despite attempting to introduce a separate stylesheet within the document's head or body sections, the default underline persisted.
If anyone has insights on resolving this issue—whether by removing the underline entirely or aligning its color with specified link colors—I would greatly appreciate your assistance.
Thank you in advance for any guidance provided.