Style Sheets
  Home arrow Style Sheets arrow Building a Liquid Design with Evened Margi...
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 a Liquid Design with Evened Margins and Centered CSS DIVs
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-04-30

    Table of Contents:
  • Building a Liquid Design with Evened Margins and Centered CSS DIVs
  • Constructing an elastic web page layout with evened CSS margins
  • Centering DIVs with evened CSS margins
  • Completing the development of the centered 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


    Building a Liquid Design with Evened Margins and Centered CSS DIVs


    (Page 1 of 4 )

    If you’re a web designer who wishes to learn how to build fully-centered web page layouts using CSS, you've come to the right place. Welcome to the final installment of a seven-part series on centering DIVs with CSS. This series shows you how to take advantage of the functionality provided by different DIV alignment techniques to construct centered web page designs, which can be incorporated into any existing site with minor effort.

    Introduction

    Now that you're aware of the main goal of this series of articles, it's time to review the topics that were covered in the last tutorial. As you'll recall, in that particular installment I constructed a fixed, centered web page design by using a CSS technique called "evened margins."

    In simple terms, this method permits you to center a selected DIV simply by assigning the same values (in percentage, pixels, ems, etc.) to its left and right margins respectively, which causes the DIV to be positioned in the middle of a web document.

    Indeed, evened margins can be considered one of easiest approaches to implement nowadays, when it comes to building centered layouts. And best of all, this technique is supported consistently by most modern browsers.

    Nonetheless, as I said before, the use of evened CSS margins allows you to work indiscriminately with fixed and elastic designs, due to its intrinsic versatility. Therefore, this final article of the series will be aimed at demonstrating how to utilize this approach for building a liquid web page design, thus completing this introductory guide to using a few popular DIV-centering methods.

    With the preliminaries out of our way, it's time to tackle the last chapter of this educational journey. Let's go!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · This final article of the series demonstrates how to utilize evened CSS margins for...
     

    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 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek