Chapter 8. Using Layers for Page Layout

IN THIS CHAPTER

Creating CSS Layers 82

Visualizing Layout 85

Summary 85

Sample Questions 86

Effective page layout requires control over positioning of contents—especially horizontal positioning. The only means of controlling horizontal positioning in HTML alone is to use tables. The majority of pages on the Web today use tables, and the results are often very fine.

Complex page layouts, however, require many tables, often involving nested tables and many cells filled only with spacer images. The resulting code can be extremely complex, prone to syntax errors, difficult to debug, and difficult to read and maintain.

With layers and CSS (Cascading Style Sheets) positioning, there’s a preferred way to lay out ...

Get Macromedia Dreamweaver8 Certified Developer Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.