How stop the link of href from being highlighted?
I am setting an anchor tag for an image. It is highlighted and I want to remove the image from being highlighted. How to do this?
This is my anchor tag (some PHP in it):
<a style="outline:none;" href="<? echo base_url();?>/friends/UploadPhoto">
<img src="<?=$imgp ?>" name="b1" width="90" height="80" border=开发者_如何学C"0"/>
</a>
Better, do this in your CSS sheet:
img {
border: none;
}
If you want to do it only for images inside a tags, you could also do
a img {
border: none;
}
精彩评论