I'm having an issue where my 'content' div
is not staying within the 'sitewrapper' div
.
The HTML code:
<div class="sitewraper">
<div class="categorietree">
<?php echo $categorietree; ?>
</div>
<div class="content">
<?php echo $content; ?>
</div>
</div>
The CSS code:
div.sitewrapper
{
height:99%;
width:100%;
top:75px !important;
position:relative;
}
div.categorietree
{
float:left;
height:100%;
width:20%;
}
div.content
{
float:left;
height:100%;
width:80%;
}
It seems like the content is not being contained properly. Can anyone point out what might be going wrong?