Selectors in action - step by step tutorial

Step 8 - styling the second container

To color the right column, another background image is used and repeated down the page using background-repeat. This time, we will set the image to align right using an ID selector.

div#container2
{
background-image: url(more_col_base.jpg);
background-repeat: repeat-y;
background-position: right;
}

View step 8 »

Go to Step 9 »

Other Max Design articles and presentations
Associated with webstandardsgroup.org