Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

text-decoration:none; being ignored in Outlook 2007

Is there a way to make text-decoration:none; work for links in a newsletter when viewed in Outlook 2007? I've tried inline styles in the head and body, applied directly to the anchor tags and a combination of all three. Outlook 2007 still shows underlines for all the links regardless. Any way around it? Thanks

like image 531
Mark Avatar asked Jul 18 '11 18:07

Mark


2 Answers

This can be evaded like this:

<a href="#"><strong style="font-weight:normal">text here</strong></a>

put the text in a strong tag which is then reset to normal font weight.

like image 162
Hugo Avatar answered Nov 08 '22 10:11

Hugo


Try to bind a <span> inside <a> tag.Use the following code snippet :

<a href="#" style="text-decoration:none;"><span style="text-decoration:none;">Click Here</span></a>
like image 32
Pranay Srivastava Avatar answered Nov 08 '22 12:11

Pranay Srivastava