A whole 5 hours, eh? :p
Anyway, just wrap all your divs up inside another div, like so:
<div id="sidebar">
<div class="top"></div>
<div class="body">
test
</div>
<div class="bottom"></div>
</div> With the corresponding CSS:
#sidebar {
width: 131px;
float: right;
}
#sidebar .top {
height: 20px;
background: url(images/sidebartop.jpg);
}
#sidebar .body {
background: url(images/sidebarbg.jpg);
}
#sidebar .bottom {
height: 20px;
background: url(images/sidebarbottom.jpg);
}