View Single Post
  #7 (permalink)  
Old Jan 13th, 2008, 18:44
Lchad Lchad is offline
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: how to put divs next to each other

Don't use absolute positioning, it's just a regular pain in the butt!
For what you are doing floating is the least complex.

Your solution to your problem is so easy you'll die!

Float the two columns left.
Add to the footer css this code
Code: Select all
clear: both;
-----------------------------------------------------------------------------------
If that doesn't do the trick and keep your footer below the two divs, then put a clear div in

Column code
<div class="clear"></div>
Footer code

Css for this is
Code: Select all
.clear {
	height:1px;
	margin:0 0 -1px 0;
	clear:both;
	overflow:hidden;
}
That will solve all your problems.
Reply With Quote