Welcome to WebmasterWorld Guest from 184.108.40.206
One of the things I really want to know is how Google handles css.
Now - we know that when Google sees bold text "some keyword" on a website, it assumes the website is about "some keyword", especially if the keywords repeats in title, h1 etc.
Now - if I make it bold, but only in css, does it still work like that? I.e. will
<code><p class="some style with bold font">some keywords</p></code>
work like this:
The same goes with big fonts, fonts with different color, etc.
1: no. Css is far too complex. If google were to process style sheets, it would take multiple times as much processing power.
2: no. Google does not "execute" js. It does "Read it" and strip out obvious urls.
You probably decide that there are other problems with higher priorities.
> And you say Google doesn't catch that?
Not programmatically in css it wouldn't. Not at all. You can do all the hidden divs you want - you don't have to stoop to color tricks any more.
It's not google seeing it you should worry about - it is your competition narking on you - which triggers a hand check by Google.
Google rarely reads in CSS files. When they do, they most often parse them for urls.
did they ever figure how to do that algorithmically for HTML, I expect not, it's the same for CSS
what they might detect is keyword density which may be too dense and/or someone will nark on you.. either way will raise a flag for a hand check
[edited by: tedster at 9:05 pm (utc) on Mar. 13, 2008]
uses a css to fill his/her website with keywords with a color identical to the background color
Part of how Google understands pages is to break down the words used and assign each a weight score based on usage on the page (as well as off it). They stop counting repetition of any word after a certain point to stop this sort of rubbish.
Sometimes you do need to becareful with that, as you may have legitmate things on the page in hidden divs (ajax is notorious for hidden stuff until called upon). A competititor can see that and think you are slipping in hidden stuff.