by Terry Felke-Morris

Chapter 10 - CSS Page Layout

Now that you are familiar with using CSS to format text and color, you are ready to explore using CSS to configure web page layout. This is a method that relies on CSS properties rather than tables to design a web page.

The technology for this “table-less” layout is called CSS-P, for CSS positioning. This chapter will introduce you to CSS -P, a growing trend on the Web as current versions of browsers increase their support of this technology.

In this chapter, you will learn about reasons to use CSS for page layout, relative and absolute positioning, the CSS Box Model, configuring single column, two column, and three column page layouts using CSS, configuring navigation using lists, and styling for print media.

Microsoft IE7 CSS Compatibility Issues

CSS Documentation CSS Layout Tutorials

W3C Overview of CSS
W3C CSS1 Recommendations
W3C CSS2 Recommendations
Eric Meyer's CSS Mastergrid
CSS Validator
W3C CSS3 Working Draft

Glish Page Layouts
List of CSS Tutorials
W3C CSS Learning List
Blue Robot Page Layouts
Little Boxes
Flash Box Model Demo
CSS PLaY

Sample Pages CSS Resources

http://www.disability.gov

http://www.trugreen.com

http://www.wired.com

QuirksMode
Position Is Everything
Browser Compatibility
Eric Meyer's Site
Web Page Reconstruction Using CSS
Yahoo!'s UI Library: Page Grids
6 Keys to Understanding...

CSS Navigation "Automagically"

Sometimes a good way to learn is to reverse-engineer an example. The CSS Wizard below will "automagically" create CSS navigation link lists for you. Have some fun with this and then review the code it created so you can extend the examples and create something that is truly your own.

Accessify.com - List-O-Matic

CSS Page Layout Creator

Need some help getting started on your CSS page layouts? Try out the CSS Page Layout Creator at the link below to point and click your way to a CSS layout. You can then reverse-engineer and learn from the CSS that is generated.

CSScreator.com

Exploring CSS

Eric Meyer's complexspiral demo will inspire you with what CSS page layout can accomplish with background images and background color. Enjoy exploring CSS!

Chapter Updates

  1. Page 406
    In the Navigiation links bullet point the code for the hover should be:

    a.nav:hover { color:#ffffff;
                            background-color:#CC66CC }
  2. Page 406
    The height configuration for the content1 class is incorrect. The style rule for the content1 class should be:

    .content1 { height: 150px;
                        text-align: center;
    }

Questions or Comments?

The author would like to hear from you!
Send an e-mail to webdevfoundations@hotmail.com

Review Games
Chapter 10 Review
Flash Cards
Pick a Letter
Fill in the Blank
Matching
Crossword Puzzle

Resources

W3C
W3C HTML Validator
W3C CSS Validator

Color Chart
Design Checklist
Fireworks Tutorial
Flash Tutorial



A List Apart
SitePoint
Good Experience
Digital Web
Dreamweaver
FrontPage


XML Blog News Feed