Setting Up the Content Div
The next element to design in the XHTML document is the container for the main content, appropriately named …
Clearing Elements
The following property (and value) makes an element appear below all the content that is above it within the flow of …
Writing the Footer Selector
Make the footer selector the same way you created the other selectors. The footer will also be an ID select …
Note: This article has been updated for Dreamweaver 8. If you are still using Dreamweaver MX 2004, please read the version of this arti …
Preparing Your Page for Debugging
We investigated the float technique earlier in this series and now it’s time to use it to crea …
Adding the Left Column
Open the basiclayout.css file and create space at the bottom to add a new selector. Once you do this, complete …
Adding the Float
Return to the basiclayout.css file and locate the #leftcol selector. By now you should be able to quite easily add a f …
Organizing the Columns
At the moment you have the two columns roughly in position, although you still have some work to do to give the …
Floating the Content
Your first job here is to locate the the two clearing divs in the basiclayout.html page and delete them.
To corre …
Note: This article has been updated for Dreamweaver 8. If you are still using Dreamweaver MX 2004, please read the version of this arti …
Moving the Navigation
At the end of Part 4, I set a little exercise for you to add an h1 title and p elements into the leftcol div. How …
Making Structural Changes in the HTML Document
Open basiclayout.html in the Code view of Dreamweaver. Because you need to make some pre …
Restyling the Unordered Navigation List
Begin by making changes to your #leftcol #nav ul selector. It should currently look similar to …
Making Changes to the Link Styles
To change the default, or inactive, state of the links in your new navigation system, you first need …
Adding Hover and Focus Styling
With the hover and focus styles you are going to use a little border trickery to make the links act more …
Adding a Background Image
Making two columns appear to be the same length is very easy to accomplish using background images. You will …
Note: This article has been updated for Dreamweaver 8. If you are still using Dreamweaver MX 2004, please read the version of this arti …
Should I Float or Should I Position?
That is the question! You have already learned that to have two block-level elements, like divs, s …
Major Problem with Absolute Positioning
As I see it, the major problem with absolute positioning is this: You cannot clear an absolutel …
Using a Correct Doc Type
I discussed in Part 1 the importance of using a correct doc type. Using either an incomplete doc type, or no …