Chapter 22. Templates

Some web designers handcraft their sites with loving care, changing layouts, colors, fonts, and banners page by page. But that approach isn’t always practical—or desirable.

Consistency from one page to another is a good thing. Web pages that look and act similarly reassure visitors; they can concentrate on each page’s unique content when the navigation bar and left sidebar stay the same. But even more important, a handcrafted approach to web design is often unrealistic when you need to crank out content on a deadline.

That’s where Dreamweaver templates come in. Frequently, the underlying design of many website pages is identical. An employee directory at a company site, for instance, may consist of individual pages dedicated to each employee. Each page has the same navigation bar, banner, footer, and layout. Only a few particulars change from page to page, like the employee’s name, photograph, and contact information. This is a perfect case for templates.

This chapter shows you how templates can make quick work of building web pages where most, if not all, of the pages use repetitive elements.

Template Basics

Templates let you build pages that share a similar structure and graphic identity, quickly and without having to worry about accidentally deleting or changing elements. They’re especially handy if you design a site where other, less Dreamweaver-savvy individuals will build pages. By using a template, you, the godlike Dreamweaver guru, can limit the areas those ...

Get Dreamweaver CC: The Missing Manual, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.