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 
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 / 2
    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

    - Image Replacement CSS Techniques
    - Using BlueTrip`s Success, Notice and Error C...
    - More Uses for the Thin and Caps CSS Classes ...
    - Styling Definition Lists with the BlueTrip C...
    - Styling Unordered and Ordered HTML Lists wit...
    - Using the BlueTrip CSS Framework`s Thin and ...
    - Adding Borders to Web Page Columns with Blue...
    - Introducing the BlueTrip CSS Framework
    - Using a Background Grid to Assist Web Page L...
    - Extending the Rule Of Thirds for Web Page La...
    - A Two-Column Web Page Layout Based on the Ru...
    - Using the Rule Of Thirds for Web Page Layout
    - Swapping Columns Using the Divine Ratio for ...
    - Using the Golden Ratio in Liquid Web Page De...
    - Fundamental Design Principles for Web Page L...







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