Floated DIVs do not take part in the page's normal flow and thus do not stretch your container downwards. I suggest you read the following to get the general idea:
http://www.w3.org/TR/CSS21/visuren.html#floats
http://www.w3.org/TR/CSS21/visuren.html#propdef-float


At 06:32 2004-11-26, you wrote:
I want to understand containing boxes and why some child boxes don't push their parent "down" the page. I have a div in this page called;

#container
border: 1px solid #000;
background: url(purlpeimage.jpg) repeat-y right;)

this div sits around 2 other divs;

1. #content (float:left;width:560px;)
2. #sidebar (margin-left:560px)

-------------------------------------------------------------------
Czes�aw Liebert
http://www.78and85.com/
tel. (+48) (0) 504 425 892
mail: [EMAIL PROTECTED]


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to