Posted By

daisyfig99 on 03/13/13


Tagged


Versions (?)

Simple A-Tag Image


 / Published in: CSS
 

Turns an a-tag into an image.

  1. <!-- HTML -->
  2.  
  3. <a href="www.YOUR-URL.com" class="atagimg"></a>
  4.  
  5.  
  6. <!-- ********************************************************************** -->
  7.  
  8. /* CSS */
  9.  
  10. a.atagimg {
  11. background: url(img_url.png) no-repeat;
  12. width: 167px;
  13. height: 126px;
  14. display: block;
  15. border: 0;
  16. }

Report this snippet  

You need to login to post a comment.