View Full Version : CSS Layout

05-10-2010, 05:19 AM
I'm having trouble getting the footer to drop down when the right column expands.

See http://www.businessimmigrationissues.com/site/index.php

Any ideas what the issue is?

05-10-2010, 06:52 AM
Using absolute positions to any main columns in a layout like this is not a good idea, since we can't clear the successor elements as we do in the case of floats. I'd recommend you to check http://bonrouge.com/2c-hf-fluid%28r%29.php, which is good 2 columns layout. You may set a fixed width to the #wrap, if required.

05-10-2010, 08:46 PM

Thanks. I was able to remove the position class and update the CSS slightly and now it works correctly.

05-12-2010, 07:08 AM
Hi.. I think for that problem use the min-height not give fixed height to your main div. So when you increase your column the height is automatically increase and your footer is inside. Ya and also remove position. I want to suggest one thing not use position more, If u needed then use it otherwise ignore position.