please try this approach, as Outlook, and other mail services tend to have problems with text-decoration:none (one can assume it’s because of security concerns)
The !important tag should rule over the web-based email clients’ default style, thus leaving no underline.
Also, you can find a lot of information about email clients and their behaviour here: https://www.campaignmonitor.com/css/link-element/link-in-body/
Solution 3 :
Try on Firefox browser. So open your Gmail account & email.html page on Firefox browser after that follow instructions like Select all (Ctrl+A) and Copy (Ctrl+C) then Paste (Ctrl+V) inside Signature Area. I tested on both devices PC & iPhone so Its working fine without underline.
I have the simplest html/css code that I’m using for e-mail signatures, and I’m trying to remove the underline from the links. I store the .htm document in the folder where Outlook looks for signatures. It works fine on a PC screen, but when I look at it later in the iPhone (whether it’s in the Outlook app, Mail app or Gmail app), the underlines are there. Here is a sample:
What’s so strange is that if I send the .htm document as an attachment, and view it in on the iphone, it works fine (i.e. no underlines), even though I’m using the same e-mail apps to view it as when it’s embedded directly into the e-mail.
As you have probably figured, I’m a total rookie, but I have googled this for days without finding a solution. Appreciate any help!
Edit: I have also tried by setting the color of the underline to the same as the table background (style=”text-decoration-color:#353535″), but the result is the same. It works on PC screen, but not iPhone. The blue underline is extremely persistent!
Comments
Comment posted by Fai
Have you tried (text-decoration: none;) ?
Comment posted by Lars Lind
Yes, that’s precisely what I’m trying.
Comment posted by Fai
Does it happen only with Iphone? or any phone?
Comment posted by Raeesh Alam
You can try a trick. 1st you need to save your above html code like
It’s not working for me. Just to be sure, when you’re saying I should paste it into the signature area, do you mean I should create a new signature in Outlook and paste it there? Is the idea that Firefox should rewrite the code into something that’s more robust? If so, what’s the code that you get?