CSS helps in SEO

Post Reply
janeyadison47
Posts: 7
Joined: Tue Dec 29, 2009 11:30 pm
Location: U.K
Contact:

Re: CSS helps in SEO

Post by janeyadison47 »

CSS helps in SEO
I want to say right away that quality content should be your highest priority, not SEO tricks. The advice given here will help you get better search engine results because the key to real SEO begins with good page structure and organizing your content. Search engines use what is called “top down” logic in looking at web pages. They look at your code, not the visual display that users see. Human eyes are drawn to the page content right away, even when there are other things on the page. Search engine robots do not see things the same way, but, they are logical and predictable once you understand them.
CSS

.text-menu {
color: #FFFFFF;
font-size: 0.85em;
padding: 0px;
margin: 0px;
text-align: right;
width: 70%;
}

.text-menu ul {
margin: 0px;
list-style-type: none;
list-style-position: inside;
}

.text-menu li {
display: inline;
float: right;
width: auto;
padding-left: 6px;
}

You can customize width, padding, margin and why don’t to add a background for a unique style?

In this example we have used the display attribute with inline value.

HTML

<div class="testomenu">
<ul>
<li><a href="#" title="WebSite Name">WebSite Name</a></li>
<li><a href="#" title="Link1">Link1</a></li>
<li><a href="#" title="Sitemap">Sitemap</a></li>
<li><a href="#" title="Contact us">Contact us</a></li>
</ul>
</div>

Dont’t forget the title attribute in <a> tags!
Post Reply