...

View Full Version : CSS: DIV Positioning.



Erindesign
12-04-2006, 09:53 PM
Well, I gave pure CSS a crack on my current site. I'm stuck though.

I have a container div, and then 2 columns inside the container, one set to float left and the other float right. Somehow when the columns expand vertically, they don't push the container div's bottom border down, but rather just over ride it.



div#outer{
width:780px;
border:5px solid #633e17;
}
div#left{
float:left;
width:443px;
border:1px solid #80ae35;
}
div#right{
float:right;
width:336px;
border:1px solid #80ae35;
}


How do i Fix this?

_Aerospace_Eng_
12-04-2006, 09:54 PM
Read this http://www.positioniseverything.net/easyclearing.html

I can guarantee that if you viewed the page it would look like its working properly but its not.

Erindesign
12-04-2006, 10:01 PM
well I don't really want to do it the wrong way. I'm fairly new to divs. Is there a proper way of clearing it?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum