16 April 2007
This tutorial focuses on customizing the look of web content using Dreamweaver CS3 and Fireworks CS3 and assumes you are familiar with working with both Internet Explorer and Firefox browsers. This is Part 4 of a six-part tutorial series—be sure to review Part 3 of this tutorial to review the topics discussed in that section before continuing.
Beginning
Note: This tutorial was written for Dreamweaver CS3. Although Dreamweaver CS4 adds new CSS functionality (revised Property inspector, Code inspector, related files), the CSS panel in Dreamweaver CS4 has not changed, and you should still be able to follow this tutorial using Dreamweaver CS4.
This is the fourth part of a six-part tutorial series on CSS design concepts. If you missed any of the previous sections, it may be helpful for you to review them to become familiar with the concepts previously discussed before beginning this part:
In Part 3, we analyzed the page layout design to see how it is constructed with div elements to wrap the outer "container" and create a sidebar area. We discovered how different elements within the design work together to ensure that the design remains readable and can be resized by the user as desired.
This part of the tutorial series covers the next phase in our project—styling the header and main content areas using the features available in Dreamweaver CS3.
In this article, we’ll create an image for the header area of the page and we’ll blend the color to match the background color of the header div element. As we look at the work we’ve done so far, one very important part of the website is missing—a navigation system. We’ll address that shortly. First, we’ll create the header image. Download the sample files that are provide at the beginning of this tutorial, if you haven’t already. Uncompress the ZIP file, and then open the bmwHeader image in Fireworks CS3, (see Figure 1).
First, we’ll increase the canvas size to the right of the image; this is the area we will fade out, using the fade image command.
Here are the steps reviewed in the demo:
At this point, the image file is ready to be displayed in the header area.
Launch Dreamweaver and open index.html (the file we’ve been working with) or alternately download the sample files and use the provided index page. Set the Document window to the Design view, if it is not already.
Here are the steps reviewed in the demo:
The new CSS layout templates provided with Dreamweaver CS3 are very useful, and will save you valuable time. Use the layouts to start from scratch as you build new projects, or analyze the code to better understand how CSS can be used to control and improve the look and feel of your page designs.
The header looks great as it fades into the background; so let’s proceed to the next step—styling the main content. In the next part of this tutorial series, we’ll focus on the sidebar element content and adding the navigation bar. For the upcoming exercise, we’ll concentrate on the main content area. We’ll take a look at how we can improve the color palette, and we’ll also see how we adjust the spacing to make the content look better.
Here are the steps reviewed in the demo:
We’ve now completed the styling for the header and the main content area.
In part five of this series we’ll create a navigation bar in the left side area. We’ll also find out how easy it is to manipulate a CSS layout when a site client is fond of last minute changes.
After exploring with setting different font colors and background colors for main content areas, try adding borders with various settings to the elements within your page. Once you are comfortable with the steps covered here, continue onward with part five of this tutorial series.
Tutorials and samples |
| 04/23/2012 | Resolution/Compatibility/liquid layout |
|---|---|
| 04/20/2012 | using local/testing server with cs5 inserting images look fine in the split screen but do not show |
| 04/18/2012 | Ap Div help |
| 04/23/2012 | Updating |