简体   繁体   English

如何在转发电子邮件时删除超链接下划线

[英]How to remove hyperlink underline when forwarding email

So I'm creating email templates from a program called Marketo when I send that email to myself for testing it looks fine, but when I forward that same email the recipient gets all links with an underline . 因此,当我将该电子邮件发送给自己进行测试时,我正在使用名为Marketo的程序创建电子邮件模板,但是当我转发相同的电子邮件时,收件人会获得带有下划线的所有链接。 How can I not make the blue line appear? 我怎么能不出现蓝线? This only happens on Outlooks . 这只发生在Outlook上 在此输入图像描述

I think it appears on Outlook right. 我认为它出现在Outlook上。

OK, do one thing please once add your so we can't try, please style using inline concept for example below: 好的,做一件事请一次添加你所以我们无法尝试,请使用内联概念进行样式,如下所示:

<a href="#" style="text-decoration:none">link</a>

Please keep note that you using inline styling here in the email template. 请注意您在电子邮件模板中使用内联样式。

Try with this CSS property: 尝试使用此CSS属性:

a{ text-decoration: none; }

If you want it on mouse hover: 如果你想在鼠标悬停时使用它:

a:hover{ text-decoration: underline; }

I have an idea to solve your problem by using inline style with an !important expression. 我有一个想法,通过使用带有!important表达式的内联样式来解决您的问题。

You can do it in the following way: 您可以通过以下方式执行此操作:

<a href="#" style="text-decoration:none!important;">Click here</a>

I hope this solves your problem. 我希望这能解决你的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM