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


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.