在 Outlook html 电子邮件中单击锚点后颜色发生变化

Color change after clicked anchor in Outlook html email

我想避免单击锚点时 html 电子邮件模板中的颜色变化。

在 Outlook 中,单击白色锚点后会变成紫色。

代码:

<table style="background-color: #404040; width: 100%;">
<tbody>
    <tr>
        <td>
            <table cellpadding="3" cellspacing="0" border="0" style="width: 100%; margin-bottom: 2px">
                <tbody>
                    <tr>
                        <td width="10px"></td>
                        <td><a href="http://www.izigo.pt" target="_blank" style="font-family: verdana,geneva,sans-serif; color: #D3D3D3; font-size: 10px; text-decoration: none;">Oficinas</a></td>                         
                        <td width="12px"></td>
                    </tr>
                </tbody>
            </table>
        </td>
    </tr>
</tbody>
</table>

将此添加到您的 HTML:

<style>
a:visited {
  color: #FFFFFF; /* Or whatever white you're using */
}
</style>

它只是将 CSS 注入您的页面,以便在访问后处理 a 标记。