Skip to Main Content
Creating a Website: The Missing Manual, 3rd Edition
book

Creating a Website: The Missing Manual, 3rd Edition

by Matthew MacDonald
May 2011
Beginner content levelBeginner
584 pages
17h 42m
English
O'Reilly Media, Inc.
Content preview from Creating a Website: The Missing Manual, 3rd Edition

Chapter 10. Multipart Pages

As you start building bigger and more elaborate websites, you’ll no doubt discover one of the royal pains of website design: making a common ingredient appear on every page.

For example, you might decide to add a menu of links that lets visitors jump from one section of your site to another. You can place these links in a table or a <div> element (two techniques shown in Chapter 9) to position them on a page, but either way you face a problem you need to do a fair bit of copying and pasting to display the menu on every page of your site. If you’re not careful, one page can end up with a slightly different version of the same menu. When you decide to make a change to the menu, you face the nightmare of updating every one of your pages. Web creators who try this approach don’t get out much on the weekend.

There’s no simple solution to this problem, but crafty web designers can use a variety of techniques to get around it. In this chapter, you’ll learn about the two most accessible solutions: server-side includes and the page template feature in Dreamweaver and Expression Web.

Understanding Multipart Pages

By this point, you’ve amassed a solid toolkit of tactics and tricks for building web pages. You learned to polish your pages with modern fonts and colors, gussy them up with a trendy layout, and add images and links to the mix. As you apply these techniques to a complete website, however, you’ll run into some new challenges.

One of the first hurdles you face ...

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

Creating a Website: The Missing Manual, 4th Edition

Creating a Website: The Missing Manual, 4th Edition

Matthew MacDonald
Learn to Build a Website

Learn to Build a Website

Cassidy Williams, Camryn Williams

Publisher Resources

ISBN: 9781449306823Supplemental ContentErrata Page