Selectors in action - step by step tutorial

Step 16 - styling the content <div>

The content <div> needs to be styled, using an ID selector, so that it does not flow under the navigation and more <div>s, so margin left and right are applied. No margin is needed above or below.

div#content
{
margin-left: 190px;
margin-right: 200px;
}

View step 16 »

Go to Step 17 »

Other Max Design articles and presentations
Associated with webstandardsgroup.org