Style Sheets
  Home arrow Style Sheets arrow Building Floating Lists With CSS
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
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? 
STYLE SHEETS

Building Floating Lists With CSS
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-12-03

    Table of Contents:
  • Building Floating Lists With CSS
  • Building floating (X)HTML lists
  • Creating the structural markup of the floating (X)HTML lists
  • Completing the construction of floating lists

  • 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


    Building Floating Lists With CSS


    (Page 1 of 4 )

    In this four-part series of articles I’m going to show you how to build several floating HTML lists by means of a few basic CSS styles, and basic markup. In this manner you can implement this useful approach within your existing or future web sites. This is the first part.

    Speaking frankly, how many times in your life as web designer have you found yourself using an HTML list to wrap the links of a fancy navigational bar? Well, if you're a strong advocate of modern web design techniques, then probably the answer to that question will be tens, even dozens of times. As you know, lists are very popular nowadays. They can be used for showing bulleted items in an elegant way, and for containing groups of links.

    Building both vertical and horizontal HTML lists is a process that can be tackled with relative ease, particularly if you have an intermediate background in CSS. Things can get much harder, however, when it is necessary (for example) to display two vertical lists within a web document, particularly when the first one must be placed to the left of the web document and the second one positioned directly to the right of it.

    In this particular case, the solution is much simpler than you may think initially. It involves working with a helpful CSS-based technique called, not surprisingly, floating lists. In the scenario described above, the first list could simply be floated to the left of the web page via a typical "float" CSS property, while the second one would be floated to the right of the pertinent page. Quite easy to achieve, right?

    However, as with many other topics within the huge terrain of modern web development, using floating HTML lists requires adequate practice, apart from learning the corresponding theoretical concepts.

    Having already introduced you to the subject of this article series, it's time to start learning how to construct some floating lists in a few easy steps. Let's get started!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · Floating HTML lists are commonly used on many web sites today. This first chapter of...
     

    STYLE SHEETS ARTICLES

    - Building a Three-Column Web Page Layout with...
    - Creating DIV-based CSS Tables
    - Combining Floating Lists with Other Web Page...
    - Adjusting Padding and Margins on Floating Li...
    - Building Cross-Browser Floating Lists with C...
    - Building Floating Lists With CSS
    - Improving the Visual Presentation of a CSS D...
    - Fixing Browser Incompatibilities in a CSS Dr...
    - Building Clean Drop-Down Menus with CSS
    - Creating Hybrid Web Page Layouts with Negati...
    - Creating Three-Column Web Page Layous with N...
    - Swapping Column Positions in Web Page Layout...
    - Creating Web Page Layouts with Negative Marg...
    - Creating Gradients for Individual Containers...
    - Creating Gradients for Web Page Headers with...


     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT