Hi there,
Take a look at the source for chapter 6 that comes with the book as a download. In Monochrome.css you find this:
Code:
#MainContent
{
font-size: 0.8em;
width: 659px;
border-left: 1px solid white;
border-right: 2px solid white;
float: left;
background-color: #e1e1e1;
min-height: 500px;
padding: 10px;
}
#Sidebar
{
font-size: 0.8em;
background-image: url(Images/Sidebar.jpg);
background-repeat: no-repeat;
background-color: #cccccc;
width: 152px;
min-height: 500px;
padding-top: 10px;
padding-left: 10px;
float: left;
}
Both have a float left which causes them to end up side by side. This works if the id attributes of the MainContent and Sidebar (including capitalization) match the CSS selectors.
Hope this helps,
Imar