Tutorial Standard CSS Image Replacement
h1#logo {
width: 200px; // width of image
height: 100px; // height of image
background: url(../path/to/image.jpg);
text-indent: -9999px;
}
This technique is credited to Mike Rundle and referred to as the Phark Method. There are many more techniques for CSS Image Replacement.