Selectors in action - step by step tutorial

Step 7 - styling the first container

To color the left column, a background image is used. This image is 170px wide and will repeat down the page. To do this we set the background-repeat to the y axis using an ID selector.

div#container
{
background-image: url(nav_col_base.jpg);
background-repeat: repeat-y;
}

View step 7 »

Go to Step 8 »

Other Max Design articles and presentations
Associated with webstandardsgroup.org