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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

298<br />

Chapter 11 ■ Case Study: High-Content CSS <strong>Design</strong><br />

Figure 11.13<br />

The center column added to the design with the border of the products table turned on.<br />

container, using the a5-individual-product <strong>and</strong> a5-individual-product p<br />

rules. Figure 11.13 shows the design with the center column added with the<br />

border of the products table turned on to show the space it takes up.<br />

Note<br />

Using comment tags to separate code makes finding particular sections much easier. Using an<br />

intuitive system is important for designers to underst<strong>and</strong> their code. In this section of code the "right<br />

column" is the parent column, while "column right left" represents the left column of the right<br />

section. Visually, though, in the design, this column is the center column. A designer could also<br />

name this section the "center column," or name the "right column" the "parent right column,"<br />

signifying that there will be a child right column.<br />

■<br />

The content in the right column is nested inside the a5-column-right container.<br />

Because it is assigned absolute positioning, it is placed 42 pixels from<br />

the top of the container. These 42 pixels force the column down past the<br />

menu area. Otherwise, the column would begin in the area across which the<br />

menu runs (see Figure 11.14).<br />

Because the container is assigned absolute positioning, it is given a height<br />

value of 365 pixels to ensure that the nested content inside it does not run<br />

Game Developing GWX

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

Saved successfully!

Ooh no, something went wrong!