05-31-2009, 03:36 PM
|
#19 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
If the div is floated, then the container won't be stretched, unless you add a clear div like I did.
HTML Code:
<div id="container">
<div>
Your content..
</div>
<div class="clear"></div>
</div>
And the css:
.clear { clear: both; }
__________________
|
|
|
|