The "border=0" solution works, but it is not very easy to implement since it requires its addition in every and each link image you put in your project.
The better solution is to include the following tag within your page's <head>...</head> tags, which can be in a master page so that all the inner pages will inherent it from the master page
<style type="text/css">
<!--
img { border: none; }
-->
</style>
external css
img {border : 0;}
img a {outline : none;}
internal css
<style type="text/css">
img { border: none; }
</style>
inline css
<img src="logo.png" style="border-style: none"/>
For removing this border you should set border to none.
a img
{
border:none;
}
You can set this CSS to remove the blue border on every image within a link:
a img {
border: 0;
}
Or add it inline to the img element:
<li>
<a href="#">
<img style="border: 0;" src="images/hospitality.png" title="" />
</a>
</li>