Is Google going to get mad at me?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Is Google going to get mad at me?

Post by Luke »

I've got code like this this is display: none'd because the client HAS to have anti-aliased text: Is google going to kill me?

Code: Select all

<div id="philosophy-blurb" class="blurb"><p>At Company X, we believe our business activity should have a positive affect on all the communities we touch. From our beginnings over a decade ago, we have held ourselves accountable to make the choices that honor both people and the planet. This means respecting the culture and traditions of artisans around the world with fair trade practices, using only natural and organic fibers and being conscious of our business practices at home. We have seen firsthand how our choices can make a big difference for those communities involved in creating our clothing. </p></div>
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Anything in the markup that is not visualized will hurt you, but how much? Probably very little.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

What do you use to determine if they have anti-aliased text...? Whatever it is, you could use it to ensure that the text isn't even created unless they've got it rather than hiding it if they don't.
Arawn
Forum Commoner
Posts: 42
Joined: Sat May 05, 2007 6:03 am

Post by Arawn »

What if the hidden text is reported to Google by a competitor? Do you think they might PR0 the site? What major car manufacturer did Google do that to? Didn't they have hidden text?

I'm full of questions today and no answers. :oops:
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

jcart wrote:Anything in the markup that is not visualized will hurt you, but how much? Probably very little.
signature:
OK
superdezigns wrote:What do you use to determine if they have anti-aliased text...? Whatever it is, you could use it to ensure that the text isn't even created unless they've got it rather than hiding it if they don't.
I think you misunderstand my question (my fault, I was in a hurry on the way out to a meeting when I posted). I am simply replacing the text with an image via css (background-image: url(image))
What if the hidden text is reported to Google by a competitor? Do you think they might PR0 the site? What major car manufacturer did Google do that to? Didn't they have hidden text?
Google is smarter than you think. They know the text is there, and they know it's hidden. ;)

So I guess my new questions is: Is there any point in even providing the undisplayed text? Should I just use the image?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Just use a regular image with the content in the alt text. Google will read it and it won't penalize you.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

hmm... that's a lot of text in the alt tag. I guess that's ok though...

EDIT, on second thought, I'd prefer to keep the image out of my markup since it is essentially presentational.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

The Ninja Space Goat wrote:hmm... that's a lot of text in the alt tag. I guess that's ok though...

EDIT, on second thought, I'd prefer to keep the image out of my markup since it is essentially presentational.
Well, the only purpose of having the hidden one is for search engines, so you'll likely be penalized for it. Maybe if you hid it through Javascript (and displayed the image, simultaneously...?), I wouldn't see it being a problem. Maybe.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Actually I don't think Google cares if it is hidden or not. Google searches the HTML file and tends to ignore class designations for anything. In otherwords the CSS is ignored so as far as Google is concerned and that text is visible even though the CSS makes it hidden.

I know I have performed Google searches and Google has found pages with what I am looking for hidden. :) The search shows nothing when you go to the page but if you view the source and search for the text you were looking for it shows up. That's why I say Google ignores the CSS.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Google can identify hidden text without pulling the style sheet.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

really? how's that?

EDIT: I found this... it doesn't say directly whether or not Google parses CSS http://www.google.com/support/webmaster ... swer=66353
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Well y'all know they are a creative bunch. I don't really want to say anything. Just think outside the box and watch your traffic closely. Especially on large websites.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Just read your edit...

HINT:
... look for anything that's not easily viewable by visitors of your site. ...
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

not sure what you're getting at. My browser parses css... :?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

AKA Panama Jack wrote:Actually I don't think Google cares if it is hidden or not. Google searches the HTML file and tends to ignore class designations for anything. In otherwords the CSS is ignored so as far as Google is concerned and that text is visible even though the CSS makes it hidden.

I know I have performed Google searches and Google has found pages with what I am looking for hidden. :) The search shows nothing when you go to the page but if you view the source and search for the text you were looking for it shows up. That's why I say Google ignores the CSS.
I'll try and dig up where I've read that it's quite the opposite. I remember it relating to the prevention of sites trying to pack thousands of hidden keywords throughout their site.
Post Reply