Posted By

michellebracken on 08/18/11


Tagged


Versions (?)

Removing the Border from Image Links


 / Published in: CSS
 

By default any image that is wrapped in a link will have a border around the image (similar to the way text is underlined). Removing the border is simple

Since I never want to see the border around image links I usually set the above on every site I develop

  1. 1 a image {
  2. 2 border: none;
  3. 3 }
  4. 4
  5. 5 or
  6. 6
  7. 7 a image {
  8. 8 border: 0;
  9. 9 }

Report this snippet  

You need to login to post a comment.