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

Christian Heilmann codepo8 at gmail.com
Wed May 24 09:54:00 CDT 2006


> Why don't you use Images AND Text ?
> <h1><span>Name of the Company</span></h1>
> with a little bit of CSS :
> @media screen {
>     h1 {
>         background-image:url(company-logo);
>         padding-left: width of the logo
>     }
>     h1.span {
>         display:none;
>     }
> }
> @media print {
>     h1.span {
>         style your H1 for printing, without background image;
>     }
> }

1) That shows nothing, unless you also define a height of the H1 that
is the height of the logo
2) Why bother with padding-left when you hide the text anyways?
3) display:none also hides the text from screen readers - and maybe
even some search engine robots who counteract spammers using
display:none for keyword spamming.



More information about the thelist mailing list