by mike360 » Wed Sep 16, 2009 5:12 pm
I have stopped using the negative text-indent trick as a means of displaying a logo (or any link with a background image and text, for that matter). Google does not look too kindly upon this method as it can be used to manipulate your search engine ranking.
From
Google Webmaster Tools - Hidden Text and Links:
Hiding text or links in your content can cause your site to be perceived as untrustworthy since it presents information to search engines differently than to visitors. Text (such as excessive keywords) can be hidden in several ways, including:
Using white text on a white background
Including text behind an image
Using CSS to hide text
Setting the font size to 0
Your logo is an image, so semantically speaking, you're better off to just use an <img> tag and accompanying ALT text.
- Code: Select all
<a href="/"><img src="path/to/mylogo.png" alt="My Company Name" /></a>
Hope this helps.