如何清除IE9中的链接周围的蓝色边框? [英] how to remove blue border around links in IE9?

查看:355
本文介绍了如何清除IE9中的链接周围的蓝色边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在此网站上工作: http://amberdreams.com

这是一个非常简单的网站,我一直在使用netrenderer.com确保所有的网页在Internet Explorer中工作。

This is a pretty simple site, and I've been using netrenderer.com to make sure that all the pages work in Internet Explorer.

尽管我尽了最大的努力,在使用Internet Explorer 9查看时,无法删除此网站主页上的Facebook和Twitter链接周围的蓝色边框。

Despite my best efforts, I have not been able to remove the blue border around the facebook and twitter links on the home page for this site when viewing it with Internet Explorer 9.

img {border: none; }
a img {border: 0px; }

我试过上面的代码的变体,它成功地删除了每个版本的蓝色边框任何想法?

I've tried variations of the code above, and it successfully removes the blue border for every version of IE except 9. Any ideas?

推荐答案

在CSS中尝试这个,为我工作。

Try this in your CSS, worked for me.

img {text-decoration: none; border: 0px}

这篇关于如何清除IE9中的链接周围的蓝色边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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