PDA

View Full Version : Div layout background break with CSS, any ideas?



k3exige
09 Aug 2009, 02:45 PM
Alright so here, you'll see my problem: http://exige.atbhost.net/extempus/index.php?page=home

And here's the respective code:


#container {
background: url(images/bg2_05.gif) no-repeat top center;
margin: 0;
padding: 0px;
width: 100%;
height: 672px;
overflow: hidden;}

#layout {
width: 689px;
text-align: left;
position: absolute;
top: 134px;
left: 50%;
margin-left: -344px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}

#contentarea {
background: #FFF url(images/bgcontent.gif) repeat-y;
width: 689px;
min-height: 465px;
height: auto;
margin: 0px;
padding: 0px;
overflow: visible;
}


<div id="layout"><img src="images/bartop2.gif" width="689" height="41" alt="Top"/><div id="contentarea">
<div id="contentleft">
<?php includes here
?>
</div>
<div id="contentright">
<?php includes here
?>
</div>
</div>

So what am I doing wrong and is it fixable?