Style Sheets
  Home arrow Style Sheets arrow Matching Web Page Columns 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

Matching Web Page Columns with CSS
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2007-07-18

    Table of Contents:
  • Matching Web Page Columns with CSS
  • Building a DIV-based web page layout with unleveled columns
  • Matching the heights of web page columns
  • Achieving a fully-balanced three-column web page layout

  • 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


    Matching Web Page Columns with CSS


    (Page 1 of 4 )

    For a long time, conscientious web designers have known that building web page layouts where the heights of the main columns are neatly matched is required to achieve a truly professional look and feel for a web site. This three-part article series will show you a good approach for creating this result.

    While the topic has been addressed by a decent variety of approaches, ranging from using simple JavaScript snippets to pure CSS-based implementations, it must be admitted that the subject is relevant enough to keep catching the attention of experienced designers and beginners over and over again.

    In my personal case, even when my normal trade is based mostly on coding web applications (not designing their front-ends), I have to confess that during the development of different projects, I was confronted quite often with this popular issue surrounding the creation of perfectly-matched web page columns.

    Given that fact, I felt inclined to share my experiences on this topic with other web designers worldwide, and in consequence, wrote an article that was published here at the Developer Shed Network about two years ago. More specifically speaking, in that article in particular I demonstrated how to match the DIV-based columns of a given web document by using a simple JavaScript function, but as more efficient web design approaches emerge continually, my approach seems to be rather old-fashioned now.

    So, considering that creating even web page columns can be potentially interesting to many web designers taking the first steps into this exciting terrain, in this series, which is composed of three articles, I'm going to illustrate how to achieve this professional-looking web document layout by using only a CSS-based approach, in this way implementing a JavaScript-independent solution to this known issue.

    Of course, as I stated before, I'm not a guru of web design and certainly my intention here is only to show how to code a few CSS styles that will make your web page columns completely even. However, if you're a seasoned designer looking for a revolutionary technique for achieving this appealing visual appearance, quite probably you'll find the contents included into this series of articles rather basic.

    All right, having outlined the primary goal of this group of tutorials, now let's move on together and learn how to use the functionality provided by some simple CSS styles to keep the columns of a given web document entirely matched. Let's begin with our educational journey now!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · While the topic has been covered already by many web designers, this article shows a...
       · I am just a beginner so I am looking at all the tutorial that I can find. I found...
       · Hi Susie,Thank you for the kind words on my CSS article. It's good to know that...
       · Ok, but what if you put only one paragraph in "centerbar" container and set its...
       · Thanks for the comments on my article. It’s very easy to solve the issue you...
       · As a beginner I appreciate the effort you put into making this information...
       · Hi Ron,Thank you for the comments on my CSS article, and it’s good to know it’s...
       · Does this work with a floating div design as well? See, I made a basic floating...
       · Thanks for this wonderful article. It works like a charm.I was wondering though,...
       · Thanks for the comments on my article. Wit reference to your question, yes it’s...
       · Hi Brett,Thanks for the kind comments on my article. Regarding your question,...
     

    STYLE SHEETS ARTICLES

    - Using the Custom -moz-border-radius Property...
    - Using CSS3`s Border-Radius Property to Build...
    - Adding Semantic Meaning to Styled Code Block...
    - Styling Code blocks with CSS: Using pre HTML...
    - Building Rounded Corners with CSS3
    - Finishing a Casual Navigation Bar with CSS S...
    - Defining a Navigation Bar`s Hover State with...
    - Styling a Blog`s Links Bar with CSS Sprites
    - Creating an Artistic Blog Header with CSS Sp...
    - Defining the Active State of Menu Sections f...
    - Styling the Hover State of a CSS Sprite-Base...
    - Building CSS Sprite-Based Navigation Bars
    - Creating Framed Pictures with CSS
    - Using a CSS Shading Effect to Decorate Images
    - Decorating Images with CSS







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