View Full Version : SEO with CSS


FreeAgent
08-03-2004, 08:31 AM
Ok we all know that header tags hold some weight, but if I add CSS into the mix does it confuse spiders?

For example....
<h1 class="shead">Sub Header</h1>

dilligaf
08-03-2004, 08:42 AM
Free agent, Welcome to the forums. No, but... are you using different styles for different headings that H1, H2, H3 wouldn't cover?

FreeAgent
08-03-2004, 08:45 AM
Yes, here is a sample of the CSS code...
.shead{font: 10px verdana; color: #A8B8C4;}

Thanks for the welcome. I have been reading the forums for a few months now. I thought it was about time I made myself an account.

jocelyn
08-03-2004, 09:31 AM
Welcome to the forum...

An other cool avatar...

FreeAgent
08-03-2004, 09:51 AM
Thanks... :cool:

mobilebadboy
08-03-2004, 11:43 AM
FreeAgent,

I take it your going to have more than 1 set of H1 tags? The easiest way would be to just give H1 it's own style, but if you had more than 1 set they'd all be the same. I never use more than one, so I've never faced the issue.



h1 {
font: 10px verdana;
color: #A8B8C4;
}
Then you have no extra tags mixed with your H1s, just <H1>keyword(s)</h1> :) I've never actually tried to add a class tag directly to it.

FreeAgent
08-03-2004, 11:51 AM
That's what I use for my smaller sites, but I want to use more then one style on my h1 - h3 tags for my bigger sites.

dilligaf
08-03-2004, 01:35 PM
I was looking at it like badboy. I've never heard of it creating any sort of problem though so unless someone else chimes in with better info...

If you're not combining them on pages to try to get a boost you could use different style sheets for different directories.

FreeAgent
08-03-2004, 01:41 PM
I'm working on a big site right now and I am using a multi themed template using css. I just wanted to make sure spiders would not go crazy.