Forum Moderators: open
Indeed, I see a lot of sites in which the "headings" are images. Of course, this is not good from an SEO standpoint. ALT Text might allow handicapped or limited-display mobile users to read the headings, but is unlikely to help much with search indexing.
CSS provides a way of satisfying multiple types of users. A conventional heading can be put in the HTML, and an imported or linked style sheet can set the text display to "none" and add the appropriate image as a background image. Users who can use style sheets get the fancy version, those who can't get text.
Clearly, you wouldn't want to do this for every heading on a large site. However, if you used some headings repetitively, you could avoid having tons of special classes. The only thing that is scary is the hidden text aspect. If the HTML and graphic text are an exact match, the technique is perfectly innocent and would certainly survive human scrutiny; however, if hidden text filters find a "display:none" modifying an "H1" tag it might trigger an automated penalty, or at least ignoring of the very text you want indexed.
So, which is it? Clever use of CSS to enhance the site, or an unnecessary risk?
[edited by: agerhart at 4:33 pm (utc) on June 12, 2003]
[edit reason] No URLs please, Per TOS [/edit]
I'd just as soon avoid doing something that might be safe now but be risky later. We work on sites that we may never touch again, and I wouldn't want to be responsible for someone's later penalty. ("What idiot put these display:nones in your CSS? Didn't he know Google 3.0 automatically cuts your PR in half for that?" :))
At the same time, it's certainly an elegant and innocent solution to a recurring design problem.
It don't believe it would result in a penalty though, since it's a regular css feature
Black text is a regular HTML feature, but if you put it on a black background, you may well get penalized. Actually, I wouldn't have worried about this too much had it not been for Google's recent hidden text campaign.