In its most basic form (I don't want to bore you with any other unnecessary codes and I assure you, there really is nothing else affecting the sidebar), here's the CSS and HTML.
CSS:
CODE
html, body {
background: #000 url('images/background.gif') repeat top left;
}
div#sidebar {
background: url('images/sidebar.png') top left;
margin: 0 0;
width: 390px;
}
div#main {
margin: 100px 450px;
width: 740px;
}
HTML:
CODE
<div id="sidebar">
<p>Here's some stuff in the sidebar. Usually, it's a lot less than what's in the main content area.</p>
</div>
<div id="main">
<h1>This would be a title.</h1>
<p>This is some text that, in general, would surpass the height of the sidebar.</p>
</div>
I'm not really sure what could be the problem. And yes, I also used Michel's advice to not define a height nor a repeat type but that didn't work either. I think it
may be because of my
DOCTYPE declaration. I'm using a strict
DOCTYPE, if that has to do with anything. Oh yeah, everything is valid (I checked using the W3C Validator).