Style Sheets
  Home arrow Style Sheets arrow Adding Headers and Footers with DIV-Based ...
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

Adding Headers and Footers with DIV-Based CSS Tables
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2009-01-21

    Table of Contents:
  • Adding Headers and Footers with DIV-Based CSS Tables
  • Adding header and footer sections to a two-column web page layout: a traditional CSS approach
  • Structural markup for the two-column web page design
  • Adding a header and a footer to an existing 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


    Adding Headers and Footers with DIV-Based CSS Tables


    (Page 1 of 4 )

    Welcome to the concluding article of a four-part series on creating DIV-based CSS tables. In previous parts, you learned how to construct some basic web page layouts made up of two and three columns with the help of CSS tables. In this article, you will learn how to add header and footer sections to these layouts.

    Introduction

    Nowadays, many web designers who frequently need to create table-less web page layouts use a few floating divs to accommodate the main columns of the pertinent web document, or utilize negative margins.

    Of course, these two CSS approaches are completely valid, and certainly offer a good level of control over the positioning of web page elements. At the same time, however, these techniques require a deeper background in CSS, as well as dealing with certain browser incompatibilities, particularly when it comes to rendering floated divs.

    However, with the release of the beta version of Internet Explorer 8, hopefully things will change for the better, since it supports the use of CSS tables -- finally joining other browsers, like Firefox and Safari, which have supported them for quite some time. Put in a simple way, CSS tables permit users to work with divs as if they were common cells and rows of an HTML table, in this way making it easier to create div-based web page layouts.

    In the last article of this series, I left off explaining how to improve the visual presentation of a basic web document whose primary columns were laid out by using CSS tables. Naturally, as I said before, this concrete example won’t work with Internet Explorer 7 and below, but it should give you a clear idea of how to implement CSS tables in a simple fashion.

    Now that you hopefully recalled the group of topics that were covered in the previous chapter, it’s time to talk about the ones that I plan to discuss in this final article of the series. Since you already learned how to construct some basic layouts composed of two and three columns by utilizing CSS tables, in the next few lines you’ll see how to incorporate header and footer sections into these web page designs, in this manner completing this introductory coverage of CSS tables.

    Are you ready to tackle this last episode of the series? Let’s jump in now!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · This last installment of the series shows how to include a header and a footer...
     

    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