<div id="left" class="left">This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...</div>
<div id="right">This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...This is text...</div>
is 100% of the user's browser's height. Try "auto" instead. That way, it will 'auto-expand' as more height is required.
Some good lorem ipsum dolar would look better to actually beta-test the container with something that could possibly be real...
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Suspendisse egestas ultricies pede. Phasellus suscipit blandit risus.
Praesent nonummy. In erat. Duis nibh pede, accumsan eu, pulvinar et,
volutpat vel, elit. Curabitur nec dui sed nunc congue tempus. Nulla ac
dui ac libero fringilla nonummy. Maecenas ullamcorper sodales risus.
Vivamus pretium dolor. Proin eu turpis. Phasellus ut mauris non nulla
mattis luctus. Nunc porttitor dapibus sapien. In malesuada fermentum
metus. Nulla egestas, tellus a vestibulum pharetra, nunc purus auctor
lacus, ut semper purus ipsum eu velit. Praesent dui. Nulla accumsan
turpis at erat.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Morbi lacus felis, euismod at, pulvinar sit amet, dapibus eu, eros.
Etiam tellus. Nam vestibulum porttitor urna. Phasellus aliquet pretium
quam. Proin pharetra, wisi nec tristique accumsan, magna sapien pulvinar
purus, vel hendrerit ipsum tellus at ante.</p>
As the last div inside the #container put
<div style="clear:both"></div>
and see if that's not what you're looking for. Floated divs do not "push" against their containers.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Bookmarks