Forum Moderators: not2easy
the link is:
The css is:
#wrapper {
margin: 40px auto;
width: 820px;
background: #a4a675 url(../images/BKG_wrapper.gif) repeat-y top center;
}
and here's the image:
Any help would be greatly appreciated.
Thanks,
Matt
[edited by: jatar_k at 5:48 pm (utc) on Nov. 30, 2006]
[edit reason] no urls thanks [/edit]
However, your problem is that you have in your content 3 floated boxes ("col1", "col2", and "col3"). Floating something takes it out of the flow, thus your #wrapper doesn't contain these boxes.
The easy fix is to add something below your floats and give it clearance. For example:
<br class="endOfContent">
And then:
.endOfContent { clear: both; }
Alternatively, you could also float the wrapper, but then centering becomes more challenging and you might need yet another wrapper.
Also, names like "col1" are not really very good class names. What if you later decided that you wanted col1 to appear on the right?
Hope that helps.