A Navigation System Based on Frames

As you've seen previously in this chapter, two of the most popular uses for frames are to position banner information in a static space, and to provide a fixed navigation system. This next example will combine the two techniques while creating a Web-based recipe archive. The general layout of the site is sketched in Figure 6.6.

The best practice for any frames-based site is to begin by constructing the "shell" for the site, which is the frameset document. In this case, we'll be using nested frames, so we have two documents to create.

To begin, we'll divide the screen into the fixed banner frame and the lower portion. The banner frame should be 100 pixels in size, should not be resizable, nor should it have ...

Get XHTML by Example 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.