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.

Building the Structure 243<br />

Figure 10.11<br />

Additional space added to the bottom of the container in IE 5, 5.5., <strong>and</strong> 6 when <br />

tags are not wrapped around the first image when it is added.<br />

The other two images, however, are given absolute positioning, so they are<br />

mortised together. The first image is positioned 373 pixels from the left by adding<br />

the following style in the local tag: style="position:absolute;<br />

left:373px;top:0px". This is 373 pixels because the coordinates of all images are<br />

based off the top-left corner of the a5-top-row in which they are nested.<br />

Since the first image is 373 pixels wide, the second image must begin 373 pixels<br />

from the left (see Figure 10.12).<br />

The third image is given absolute positioning that forces it 537 pixels from the<br />

left, which is the total width of the left image <strong>and</strong> center image: 373 pixels þ<br />

Figure 10.12<br />

The top-right area after the second image is added 373 pixels from the left side of the container.<br />

Game Developing GWX

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

Saved successfully!

Ooh no, something went wrong!