0

I have a link with an <IMG> inside, which directs to a target=_blank, now what I need to do is remove the purple border that comes round the image after I click the link..

I used text-decoration: none; but it still appears ... any ideas? I didn't post the code as none is actually in place except

#portheader a {
    text-decoration: none;
    border: none;
}

<div id="portheader">
    <a href="http://www.myweb.com" target="_blank"></a>
</div>
t.niese
  • 39,256
  • 9
  • 74
  • 101
Julian Camilleri
  • 2,975
  • 1
  • 25
  • 34

2 Answers2

0

Give border:none for the image in css

For the Old browsers, use border="0" in the img tag itself.

Ullas
  • 11,450
  • 4
  • 33
  • 50
0

try adding this to your css

outline: 0;
Gian Carlo
  • 215
  • 2
  • 6