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.

<strong>Design</strong>ing for Scalability 61<br />

Download from Wow! eBook <br />

considerable, depending on the size of a site. Another advantage of include files is<br />

that they make a site modular. In other words, they allow for one page, such as<br />

the homepage, to be built with various individual pages. Those same pieces can<br />

then be used to build other pages.<br />

Figure 3.13, which is a second-level page of a site, is a good example of modular<br />

functionality. The area on the right containing the oval circle is an include file.<br />

This file not only serves a functional purpose, but it also reduces the amount of<br />

space of the body if the content is not as long as other pages.<br />

Figure 3.14 is a third-level page of the same site that requires the full width of the<br />

body for the map. To accommodate this space, the designer simply removed the<br />

include file on the right.<br />

Figure 3.13<br />

Modular site that uses an include file in the right section of the body. Copyright † 2002 by National<br />

Farmers Union. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!