HTML and CSS Reference
To which we add:
border-left: 200px solid #D4C37B;
border-right: 200px solid #D4C37B;
This code sets the background color for the three columns. In the same
sequence as the above declarations.
If you look at this first step, you'll see that we have achieved the background
e " ect we are looking for, but things look pretty broken. Everything shows
inside the wrapper's content box.
These next rules should fix the display of the three columns ( zoom: 1 for
the #wrapper and position: relative for #sidebar and #aside ):
#aside is given a width and floated to the right. The negative margins pull
each side bar over the wrapper's border — outside of the content box.
Note: IE 6 and 7 needs #wrapper to have a layout, hence the use of zoom .
IE 6 needs the two position declarations for the same reason as in the
If you look at step two, you'll see that #header does not stretch across the
entire layout and that #footer is nowhere to be found.
These two rules should take care of everything: