text-decoration:none; being ignored in Outlook 2007
Is there a way to make text-decoration:none;
work for links in a newslet开发者_Python百科ter 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
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.
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>
My solution for Outlook 2007 is this:
<a href=""><span style="text-decoration:none">Text of the link</span></a>
But actually the code I'm using for my case is this:
<a href=""><strong><em><span style="text-decoration:none">Text of the link</span></em><strong></a>
精彩评论