在Outlook中覆盖/删除下划线链接样式 [英] Override/Remove underline link style in Outlook

查看:1160
本文介绍了在Outlook中覆盖/删除下划线链接样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个HTML通讯(用于内部目的),我通过Outlook发送。我的CSS样式在MS版本中看起来很好,但在Outlook 2010和Web邮件(Gmail,Hotmail)的Web版本和Mac版本中,所有链接都有蓝色下划线。我怎样才能删除它?



我用 text-decoration:none!重要; 但它不起作用,它也不会出现,当我使用谷歌铬工具检查元素

它似乎像我的整个代码被重新格式化和更改,一些标签被添加并且一些样式被剥离

解决方案

我知道这个答案非常古老,我可以想象,



我发现了一篇关于如何删除Outlook 2010下划线的非常旧的文章,只需将它添加到您的标题中即可:

p>

 < style href> a {text-decoration:none}< / style> 

是的,它看起来很奇怪,非标准,但它适用于Outlook。

来源: http://office.microsoft.com/en-nz/frontpage-help/how-to-remove-the-underline-from-a-hyperlink-HA001056294。 aspx 现在已经损坏。但是,这应该可以解决您的问题。


I created a HTML newsletter (for internal purposes) which I am sending through Outlook. My CSS styles look fine in the MS version, but in the web version and Mac version of Outlook 2010 and web mail (Gmail , Hotmail) all of the links have a blue underline. How can I remove this?

I used text-decoration : none ! important; but it doesn't work and also it doesn't appear when I used inspected the element using google chrome tool
it seems like my whole code is reformatted and changed , some tags are added and some styles are stripped

解决方案

I know this answer is really old and I can imagine how annoying is trying to give some style to signatures with CSS.

I found a really old article about how to remove the underline on Outlook 2010, just need to add this on your header:

<style href>a {text-decoration: none} </style>

Yes, it looks weird, non standard but it works on Outlook.

Source: http://office.microsoft.com/en-nz/frontpage-help/how-to-remove-the-underline-from-a-hyperlink-HA001056294.aspx Source is broken now. However this should solve your problem.

这篇关于在Outlook中覆盖/删除下划线链接样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆