Dmitry Makovetskiyd
Dmitry Makovetskiyd

Reputation: 7053

Removing border around image in ie

I tried many of the solution on the internet. nothing works.

        <a target="_blank" href="" style="outline : none; text-decoration:none;"><img style="border:none;outline : none;"  alt="" src="/Banners/imve.jpg"  /></a>

I tried also setting the border color to white in both elements. setting the border size to 0px.. But nothing works why?

Upvotes: 0

Views: 2670

Answers (2)

Gijs P
Gijs P

Reputation: 1470

You have outline:none; on your a tag. This should be border:none;

CSS

a, a img{
border:none;
}
a img{
display: block;
}

Upvotes: 0

Eduard Luca
Eduard Luca

Reputation: 6602

Try the following:

<a target="_blank" href="" style="outline : 0; border: 0; text-decoration:none;"><img style="border:0;outline : 0;" border="0"  alt="" src="/Banners/imve.jpg"  /></a>

Upvotes: 3

Related Questions