The original design is a three-column layout, which you will keep. In my previous series, Designing with CSS – Part 6, I discussed the pluses and minuses of both floating and positioning columns in your design; in this instance, you are going to float them.
You will also use a background image to give the appearance that each column stretches from the bottom border of your #header div down to your #footer div.
To achieve this effect, you will need to return to Fireworks and create two images:
You will use innerwrapperBG.gif to give the appearance of stretchable columns (see Figure 6) and body_bg.gif to provide your body some texture. This also adds a nicer finish to the design than the white background color.
Figure 6. innerwrapperBG.gif
To create the innerwrapperBG.gif file, follow these steps:
Note: If you want to save yourself these steps, I've included the Fireworks file as a PNG among the sample files that accompany this tutorial.
Now you can create the body_bg.gif file (see Figure 7), which is also included as a Fireworks PNG file among the sample files.
Figure 7. body_bg.gif
To create body_bg.gif, use the following steps:
You now have the two images that are required for the next part of the tutorial.
Open the CSS panel and complete the following steps to link the body_bg.gif file:
Your body image should now be applied as a background image to the body element (see Figure 8).
Figure 8. body_bg.gif in place
Your next job is to add the #innerwrapper div to your CSS file and then to add it to your code.