Skip to Main Content
Dreamweaver CS4: The Missing Manual
book

Dreamweaver CS4: The Missing Manual

by David Sawyer McFarland
November 2008
Intermediate to advanced content levelIntermediate to advanced
1088 pages
41h 40m
English
O'Reilly Media, Inc.
Content preview from Dreamweaver CS4: The Missing Manual

Chapter 9. Page Layout

Web design, unfortunately, isn’t like most other forms of graphic design. For magazine and book projects, software like InDesign let you place text and images anywhere you want—even rotate and overlap them. But Web designers are stuck with the basic technology of HTML which just wants to flow from the top of the window to the bottom, in one long column. In order to place elements around the page and create multiple columns of content, you need to resort to some fancy footwork.

For much of the Web’s short life, designers have used the HTML <table> tag to control the positioning of elements on a page—to create columns, sidebars, banners, and so on. Unfortunately, since the <table> tag was intended to display information in a spreadsheet-like format, bending it to a Web designer’s will often resulted in complex HTML that downloaded slowly, displayed sluggishly, and was very difficult to modify.

But now that CSS-friendly Web browsers like Internet Explorer, Firefox, Safari, and Opera rule the Web, designers can safely rely on a much better (though often frustrating) method: Cascading Style Sheets. That’s right; not only is CSS great for formatting text, navigation bars, images, and other bits of a Web page, it also has all the tools needed to create sophisticated designs, like the ones shown in Figure 9-1.

CSS provides two methods for laying out a Web page—absolute positioning and floats. Absolute positioning lets you position an element anywhere on the page with ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Dreamweaver CS5: The Missing Manual

Dreamweaver CS5: The Missing Manual

David Sawyer McFarland
Dreamweaver CC: The Missing Manual

Dreamweaver CC: The Missing Manual

Chris Grover, David Sawyer McFarland

Publisher Resources

ISBN: 9780596156787Supplemental ContentErrata Page