Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS: Best practices for using it to help SEO?


simonuk - 3:16 pm on Jan 19, 2009 (gmt 0)


The ID and class names won't make a single bit of difference to your rankings.

How you code it depends on personal preference really. I tend to flip between:

<ul class="blah">
<li></li>
</ul>

and

<div class="blah">
<ul>
<li></li>
</ul>

I try to keep the LI's clear of ID's or classes because I sometimes need to style the first/last LI differently from the others. I might also need an active class for the active page. In all these cases keeping the LI's clear make it easier for me to see clearly what's going on.

As I say though, it really is personal taste.


Thread source:: http://www.webmasterworld.com/css/3829482.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com