[thelist] <h1> + images + search engines penalties

Mark Groen evolt at markgroen.com
Wed May 24 09:05:19 CDT 2006

On Wed, 2006-05-24 at 09:48 -0400, Ben Glassman wrote:
> I think you can solve your problem by simply moving any image into the
> background property of the H1 is question. For example if you wanted
> the company logo in the H1 on the homepage, just give the body a class
> of "home" on that page, and use the descendent selector to do
> something like this
> body.home h1 {
> padding-left: width of logo;
> background: transparent url(file.name) no-repeat top left;
> }

I haven't had any problems using image replacement techniques either,
did one for an election campaign web site and it went numero uno in less
than a month, Google slurped up the other pages of the site and read the
header as text - when I click on Google's text-only cache to verify, the
display:none text is included:

.imagereplace { display:none; }

<h1><span class="imagereplace">The Campaign Thingee</span><img alt=""
src="fancy-logo.jpg" /></h1>



More information about the thelist mailing list