Posted By

luman on 05/23/07


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

basicmagic
vali29
verbal


Image Replacement


 / Published in: CSS
 

  1. XHTML:
  2. <h1 id="logo">My Company</h1>
  3.  
  4. CSS:
  5. #logo {
  6. background: transparent url("pathtoyourimage.png") no-repeat 0 0;
  7. display: block;
  8. width: 100px;
  9. height: 50px;
  10. overflow: hidden;
  11. line-height: 1000px;
  12. }

Report this snippet  

You need to login to post a comment.