Style Sheets
  Home arrow Style Sheets arrow Building Cross-Browser Floating Lists with...
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 Cross-Browser Floating Lists with CSS
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 2
    2008-12-10

    Table of Contents:
  • Building Cross-Browser Floating Lists with CSS
  • A quick review
  • Styling list bullets
  • Displaying floating HTML lists in a cross-browser fashion

  • 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 Cross-Browser Floating Lists with CSS


    (Page 1 of 4 )

    Welcome to the second part of a four-part series that shows you how to build floating lists with cascading style sheets. In the first part, you saw how to float two lists in a web document, one to the left and one to the right. You also saw that this particular approach caused a minor problem in Internet Explorer. In this part of the series, we'll show you how to fix that problem, and how to improve the look and feel of the lists.

    Introduction

    Undoubtedly, HTML lists can be extremely useful, particularly when it comes to displaying different group of items in a truly professional fashion. In addition, they’re pretty simple to include into any web document, and can be aligned vertically and horizontally across a web page very easily.

    However, this pleasant scenario can become challenging when it’s necessary to create a pair of HTML lists that must be floated to the left and right sides of a web document. This process isn’t as simple as working with lists that have to be aligned vertically or horizontally.

    Luckily, constructing floating HTML lists for web pages is a procedure that can be tackled by any web designer with a minimal background in CSS. Thus, if you’re interested in learning how to build these useful and professional-looking lists in a few easy steps, then you’ve come to the right place, since in this article series, you’ll be provided with numerous hands-on examples, aimed at demonstrating how to create floating HTML lists that will be displayed consistently across most modern browsers.

    If you read the first installment of this series, then it’s possible that you’ve already familiarized yourself with building floating HTML lists by using a few basic CSS styles. In that tutorial I developed an introductory hands-on example that illustrated how to create a couple of floating HTML lists, where the first one was floated to the left of a sample web page, and the second one was positioned to the right.

    In this particular case, I simply used a “float” CSS property to accommodate the respective lists within the pertinent web document. This doesn't mean that all of the floating lists that you put on the web have been constructed by way of this approach.

    Nevertheless, the floating lists created in the previous article will be displayed correctly by most non-IE browsers, which is good, but guess what? Yes, you’re correct! Internet Explorer does render the lists in the correct positions, but doesn’t show the bullets of the respective items. Too bad, right?

    Therefore, in this second chapter of the series, I’m going to show you how to fix this IE-related issue. I'll also show you how to slightly improve the look and feel of the lists. Let’s get going!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · This second chapter of the series shows how to build easily floating HTML lists that...
     

    STYLE SHEETS ARTICLES

    - Using the Golden Ratio in Liquid Web Page De...
    - Fundamental Design Principles for Web Page L...
    - Pulling Web Page Elements with the Blueprint...
    - Pushing Web Page Columns with the Blueprint ...
    - Controlling Column Padding with the Blueprin...
    - Prepending Classes in the Blueprint CSS Fram...
    - Appending Grid Units with the Blueprint CSS ...
    - Changing Grid Units in the Blueprint CSS Fra...
    - The Blueprint CSS Framework
    - Building a Liquid Design with Evened Margins...
    - An Evened Margin Approach to Centering DIVs ...
    - Using Auto Margins with Multiple Columns to ...
    - Using Auto Margins with a Liquid Layout to C...
    - Using Auto Margins to Center DIVs with CSS
    - Using the Text-align CSS Property to Center ...







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