---
title: "隐藏图片链接的蓝色边框和虚线"
author: "hellostory"
date: "2010-11-24T09:47:00Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2010-11-24T09:47:00Z"
id: 964189
url: "https://hellostory.iteye.com/blog/964189"
---

1、隐藏图片链接的蓝色边框

2、隐藏图片链接周围的虚线

IE：向&lt;a&gt;添加属性“hidefocus="true"”

Firefox：向标签&lt;a&gt;添加CSS样式style="outline: none;"