Posted By

narmolanya on 05/07/07


Tagged

css image replacement


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jonhenshaw
basicmagic
SpinZ
aziz


Image-Replacement - Phark-Methode


 / Published in: CSS
 

This solution is cool for screen readers, because they also read the text content.

  1. The XHTML-Code:
  2. <h1>Muster</h1>
  3.  
  4. The CSS-Code:
  5. h1 {
  6. background: url(muster.gif);
  7. height: 25px;
  8. text-indent: -999em;
  9. width: 250px;
  10. }

Report this snippet  

You need to login to post a comment.