Question : text-decoration: none not working on firefox?

Hi,

I keep getting a purple outline around one of my <a> elements on my page:

  <div id='myGrid'>
     <span>
       <a>
         <img src='..' />
       </a>
     </span>
  </div>

  #myGrid a {
    text-decoration: none;
  }

firefox keeps putting a purple 'visited' border around the image, but chrome/safari don't do this. How am I supposed to get rid of that?

Thanks

Answer : text-decoration: none not working on firefox?

You need to specify a border:none for the image.
Add the below generic class

Cheers
1:
img {border:none;}
Random Solutions  
 
programming4us programming4us