Posted By

charmcitycoder on 11/25/08


Tagged

css Firefox links images img border mozilla href dotted


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

charmcitycoder
ginoplusio
shaho
basicmagic
rickfu


Remove dotted border on images (e.g., in Firefox)


 / Published in: CSS
 

Remove that pesky dotted border around img elements, especially images inside / link tags.

  1. //remove dotter border on lone imgs
  2. img {border:none;}
  3.  
  4. //remove dotted borders on img links
  5. a:active, a:focus {outline: 0;}

Report this snippet  

You need to login to post a comment.