Delete Signature Signature Signature

I am developing my own email signatures for my client, now I am at the testing stage for GMail, Hotmail, Brinkster, etc.

It's hard for me to try to remove the underline displayed by the anchor, I have "text-decoration: none"; is anchored, and nothing works for any client, however Outlook does fine.

Can anyone help ?:-)

+6
source share
3 answers

I think your problem may be that certain clients move anchor styles and text to a range and apply style definitions instead.

<a href="/" style="color:black;">hello, world!</a> 

becomes

 <a href="/"><span style="color:black;">hello, world!</span></a> 

Not 100% sure why they are doing this, but it is annoying. Sometimes it changes to something like this:

 <a href="/" style="color:black;" href="/"><span style="color:black;">hello, world!</span></a> 

But this is still a mixed bag and is changing all the time. Unfortunately, the only way to confirm that everything always looks right is to use an image.

+4
source

You can also try adding !important to the style:

 text-decoration: none !important; 
+2
source
  <a href="example.com" style="text-decoration:none">link text</a> 

will not have an underline if a CSS css rule with a higher priority does not yet exist.

+1
source

Source: https://habr.com/ru/post/912339/


All Articles