How To Remove The Blue Link Of Hyperlink Images' Border In IE

Do you like this?

Summary:
Quick tip on how to remove the irritating border of hyperlink images in IE.


Content:

Assuming you want to use a hyperlink image similar to this:

<a href="http://your-link.com">
	<img src="/resources/img/ui/logo.png" title="title" 
		alt="text">
</a>

However, it's giving you a blue border around the image in IE which you don't want. You can add the following code into your CSS file:
a img{
	border: none;
}

 
comments powered by Disqus