如何删除超链接图像周围的轮廓? [英] How can I remove the outline around hyperlinks images?

查看:129
本文介绍了如何删除超链接图像周围的轮廓?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们使用CSS替换文本并给出一个负测试缩进,即 text-indent:-9999px 。然后当我们点击该链接时,虚线就会出现在下面的示例图像中。这是什么解决方案?

When we use Text Replacement using CSS and give a negative test-indent i.e. text-indent:-9999px. Then when we click on that link the Dotted line appears like in the sample image below. What's the solution for this?



推荐答案

b

a {outline : none;}

从图片链接中删除大纲

a img {outline : none;}

从图片链接中移除边框

img {border : 0;}

这篇关于如何删除超链接图像周围的轮廓?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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