This technique is credited to Mike Rundle and referred to as the Phark Method.

h1 #logo {
  width: 200px; // width of image
  height: 100px; // height of image
  background: url(../path/to/image.jpg);
  text-indent: -9999px;
}