< img>内部< a>获得蓝色边框

问题描述:

<a href="index.html"><img src="image.png"/></a>

IE8突出显示带有蓝色边框的图像。我不知道什么CSS是相关的,在这里,它只是边框?我可以使用单个CSS样式将其关闭,如:

IE8 highlights the image with a blue border. I'm not sure what CSS is relevant here, is it just border? Can I use a single CSS style to turn it off, like:

a img {
  ...
}


使用css:

a img {
 border:none;
}