Search Optimization
  Home arrow Search Optimization arrow Page 2 - Improve Your Rankings with a Sitemap T...
SEO Chat Forums  
Choosing Keywords  
Google Optimization  
Link Trading  
MSN Optimization  
Search Engine News  
Search Engine Spiders  
Search Optimization  
Web Directories  
Website Marketing  
Website Promotion  
Website Submission  
Yahoo Optimization  
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
SEO Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
SEARCH OPTIMIZATION

Improve Your Rankings with a Sitemap That Works: The CSS
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2005-10-17

    Table of Contents:
  • Improve Your Rankings with a Sitemap That Works: The CSS
  • Begin Improving the Sitemap Visuals
  • Finishing Off the Selectors
  • The Improved Look of the Sitemap
  • Making the Styles Work in Mozilla
  • Sitemap Style Switcher

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Improve Your Rankings with a Sitemap That Works: The CSS - Begin Improving the Sitemap Visuals


    (Page 2 of 6 )

    You can contain each of the sections in styled <divs> to further improve the look of the page, and you can create columns that minimize the scroll effect.  This time, create the following ID selectors:

    #left {
      text-align:right;
      float:left;
      width:50%;
      background-color:ffffff;
      border-width:0;
      padding:10;
    }

    #right {
      text-align:left;
      float:right;
      width:50%;
      background-color:ffffff;
      border-width:0;
    }

    You could also use class selectors instead of ID selectors; the end result is the same, and the choice is yours.  The time that you wouldn’t want to use ID selectors would be if you were doing work involving scripting or the DOM because these can sometimes rely on elements having unique ID attributes.  What these two selectors do is create two side-by-side <div> elemtns and align the contents to either left or right to give the appearance of columns.  Further columns can be created if necessary, and the width and alignment attributes altered accordingly.  This prevents your visitors from having to scroll too far down.

    To use the selectors with the HTML, you’ll need to encase the lists that you want to appear as either column in a <div> with an ID set to the name of the selector; so in the HTML file, put the first three lists into a div with an ID of left, and the remaining lists in a <div> with an ID of right. 

    This changes the flow of the document and takes things out of their natural order.  As a side issue, you can add the following ID selector and use it to reset the document back to the normal flow if you want content to appear below the columns:

    #foot {
      clear:both;
      background-color:ffffff;
      border-width:0;
      text-align:center;
      font-size:10;
    }

    Now in the HTML document, create the following section of code and place it at the end of the file, just above the closing <body> tag:

    <div id="foot">Copyright &copy; Rogue Records 2005</div>

    View the web page again and see what this achieves.

    Now, the page looks better, but it’s still not that attractive; you can enclose each of the lists inside its own <div id="block"> element, including the lists headings, and add some further styling effects to help space out and separate the lists in a more presentable manner.  Create the following ID selector:

    #block {
      border-width:1;
      border-style:solid;
      border-color:ffccoo;
      background-color:ffffff;
      width:50%;
      padding:0;
    }

    More Search Optimization Articles
    More By Dan Wellman


       · Hi all,This artile follows on from the previous Sitemap SEO article and disusses...
       · font-size:12; - 12 what? padding:0 5 0 5; - 5 what?feet? points?...
       · lol, you are right to queery it, I apologise for the lack of precision. I thought...
     

    SEARCH OPTIMIZATION ARTICLES

    - Implementing Six Sigma Methodology for SEO
    - Introducing Six Sigma Methodology for SEO
    - What is Mobile SEO?
    - Using Lynx for SEO Analysis
    - Mastering Lynx (Open Source Text Browser) fo...
    - More Blogging Tips: Cooking with Gas
    - Blogging Tips from Julie and Julia
    - SEO Essentials: the Proper Web Server and Pl...
    - Steps to Higher Rankings and Traffic
    - Building Linkable Pieces and Titles
    - Page Rank Sculpting
    - Page Rank Optimization
    - ClickTale Review
    - Final Issues: Moving Blogger to WordPress wi...
    - Avoid the Mistakes New SEOs Make



     



    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek