/ Published in: CSS

This is handy for cleaning up your HTML to use more plain text and fewer img tags. Whether this is SEO friendly or not is subjective. I tend to think it's fine as long as you don't use it for spam. Digg implements a similar method for their main logo.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#myLogo { display:block; width:135px; /* change to your image width */ height:35px; /* change to your image height */ background:url(myLogo.gif) no-repeat; text-indent:-9999px; } /* in your HTML: <h1 id="myLogo">My Company Name</h1> */
Comments
