div breaks out of its container

msac

New Member
I believe there is a simple answer to this question but I have an issue where my content div container doesn't extend far enough for me to scroll through my textbox div.It seems like there is an additional 200-300 px below the content div that is preventing me from seeing everything in the textbox div, even when there is no scrolling needed I cannot view the page because my background colour is covering the last 200-300 px of text data. I have tried putting an empty div inside the textbox and at the bottom of the content div but no use... Here is my code. If you need more info to help me I can provide it.Relevant CSS:\[code\]#imgscroll{ height:200px; width:100%; position:absolute; overflow:hidden; z-index:998;}#content { position: absolute; left: 254px; top: 0px; width: *; height:auto; min-width:500px; overflow:hidden; background-color: #FFF; z-index:1;}#textbox{ position:relative; top:210px; background-color:#CFF; margin:10px; overflow:hidden; padding:12px; min-width:500px;}#footer{ position:relative; background-color: #099; text-decoration: none; color: #FFF; height: 30px;}\[/code\]Relevant HTML:\[code\]<div id="content"><div id="imgscroll"><ul id="scroller"> <li><img src="http://stackoverflow.com/questions/15907485/images/slider/image-1.JPG" width="267" height="200"></li> <li><img src="http://stackoverflow.com/questions/15907485/images/slider/image-2.jpg" width="267" height="200"></li> <li><img src="http://stackoverflow.com/questions/15907485/images/slider/image-3.JPG" width="267" height="200"></li> <li><img src="http://stackoverflow.com/questions/15907485/images/slider/image-4.JPG" width="267" height="200"></li> <li><img src="http://stackoverflow.com/questions/15907485/images/slider/image-5.jpg" width="267" height="200"></li> <li><img src="http://stackoverflow.com/questions/15907485/images/slider/image-6.JPG" width="267" height="200"></li></ul></div><div id="textbox"><h1>Home</h1><br />All my text is here empty divs below don't fix it. Usually this text is much longer and whether there is scrolling involved or not, it is still an issue.<br /><br /><br /><br /><br /><br /><br /><br /> I cannot see this text at the bottom.<div> </div></div><div id="footer">(c) My Company Name </div></div>\[/code\]
 
Top