11.11.2014 Views

Professional Web Design: Techniques and Templates, Fourth Edition

Professional Web Design: Techniques and Templates, Fourth Edition

Professional Web Design: Techniques and Templates, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

398<br />

Chapter 15 ■ Case Study: Low-Content XHTML Template<br />

Creating the Menu Table<br />

The menu table in this design is actually the nested table for the entire left column.<br />

It not only includes the menu items, but it also includes the picture of the<br />

face. By including the face image in the same column, it can be reused in the<br />

second-level template, thus decreasing the download of other pages. Figure 15.5<br />

shows the built menu table.<br />

To better underst<strong>and</strong> how the table is structured, Figure 15.6 shows the table<br />

with the images <strong>and</strong> text removed.<br />

Using a two-column table is all that is needed to build the menu table. The face<br />

image is placed inside a table cell with colspan="2" (arrow 1 in Figure 15.6). Each<br />

bullet image is placed in a left cell (arrow 2), while the corresponding text menu<br />

items are placed in the right cell (arrow 3). Because the menu items in the right<br />

Figure 15.5<br />

Menu table that is nested in the left column of the design.<br />

Game Developing GWX

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!