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.

chapter 15<br />

Case Study:<br />

Low-Content<br />

XHTML Template<br />

Although <strong>Web</strong> sites are no longer being built using nested XHTML tables, there<br />

are still uses for this design technique. Sometimes the user will need to position<br />

elements in a design that CSS will simply not accomplish because of its inconsistent<br />

support among the major browsers. The most common reason for still<br />

using this layout method is for creating email templates. CSS is supported only<br />

sporadically <strong>and</strong> definitely not consistently among the various email programs<br />

<strong>and</strong> versions that continue to exist. Tables, however, are supported quite<br />

consistently, which is why this chapter is still included in this updated edition.<br />

Originally included to explain how to create a table-driven <strong>Web</strong> design, this<br />

chapter is now included to explain how to create XHTML table-driven emails.<br />

The fact of the matter is that many email templates are nothing more than lesscomplicated<br />

versions of <strong>Web</strong> design layouts, so the crossover works quite well.<br />

Just for reference, the design explained in this chapter is the very first design in<br />

the first edition of the book—design 1.<br />

Note<br />

It is important that all hyperlinks <strong>and</strong> image source paths are assigned absolute paths. For<br />

example, instead of src=" images/spacer.gif", the designer should write the code as<br />

src="http://www.a5design.com/images/spacer.gif." This is also true for hyperlinks because<br />

without an absolute path, the hyperlink will look for the file on the user's computer, where it won't<br />

exist.<br />

Game Developing GWX<br />

391

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

Saved successfully!

Ooh no, something went wrong!