webosb
02-13-2008, 09:56 PM
#contentbegin{
margin: 0 auto;
width: 850px;
background: #fff url(images/contentbg.gif);
height: auto;
}
#contentbody{
float: left;
position: relative;
top: -50px;
width: 550px;
text-align: left;
margin-left: 20px;
}
<div id="contentbegin">
<div id="contentbody">
<p>Blah</p>
<p>Blah</p>
</div>
</div>
It works in IE but having it work in IE doesnt mean jack. I tried using overflow: hidden but then i lost the top: -50px from #contentbody - any assistance will be great. thanks in advance
margin: 0 auto;
width: 850px;
background: #fff url(images/contentbg.gif);
height: auto;
}
#contentbody{
float: left;
position: relative;
top: -50px;
width: 550px;
text-align: left;
margin-left: 20px;
}
<div id="contentbegin">
<div id="contentbody">
<p>Blah</p>
<p>Blah</p>
</div>
</div>
It works in IE but having it work in IE doesnt mean jack. I tried using overflow: hidden but then i lost the top: -50px from #contentbody - any assistance will be great. thanks in advance