This is my CSS:
#contents { clear: both; width: 900px; background: #fff url(../img/contents_bg.jpg) repeat-y; }
#contents .left { float: left; width: 615px; padding: 10px 0 0 20px; }
#contents .right { float: right; width: 225px; padding: 10px 20px 0 0; }
And HTML:
<div id="contents">
<div class="left">
<p>test</p>
</div>
<div class="right">
<p>test 2</p>
</div>
</div>
For some reason the contents_bg.jpg background image won't show unless I put a height on the #contents which I cant do, any ideas?