Hot Stuff

Weekly Contest
Free copy of Alien Skin Bokeh!
CreativePro.com Podcast
Don't miss it! Updated every Monday.
FREE Mags for Creative Pros!
Creativity, Website Magazine, and more!
Web How-To: Create Liquid Layouts that Never Fail
Prepare your site for worst-case scenarios with these tips. The payoffs: less code, less maintenance, more viewers, and better search-engine results.
Written by Dan Cederholm on November 18, 2005
Categories: Web/Mobile, How-Tos
Related Articles
Related Reading
This story is taken from "Bulletproof Web Design." Published by New Riders.

To buy this book click here.
In Web-page design, page layouts with columns that expand and contract have certain advantages. They also have certain weaknesses if you don't set them up properly. A flexible, fluid layout should meet the following criteria:
- Readable by a wide variety of browsers and untraditional devices.
- Friendly to search engines.
- Easy to maintain.
It's possible to create liquid layouts using tables. But to best satisfy the above criteria, you need CSS.

A fluid, CSS-based site could look like this.
After you've finished this article, you'll be able to design CSS-based fluid Web sites with less code, a more easily maintained codebase, and a flexibility that will help the sites adapt to as many environments as possible.
We've posted this excerpt as a PDF file. To open the PDF file in your Web browser, click "Bulletproof." You can also download the PDF to your machine for later viewing.
To open the PDF, you'll need a full version of Adobe Acrobat (5 or higher) or the Adobe Reader, which you can download here:
To learn how to configure your browser for viewing PDF files, see the Adobe Reader tech support page.
Excerpted from Bulletproof Web Design: Improving flexibility and protecting against worst-case scenarios with XHTML and CSS by Dan Cederholm. Copyright © 2006. Used with the permission of Pearson Education, Inc. and New Riders.











