View Full Version : Column height and footer position
rangerkev
March 30th, 2007, 10:34 AM
I have a layout with a container, 2 columns inside and a footer. How can I make the height match the content within the columns and have the footer at the bottom? I am quite frustrated and can't get anything work.
Any thoughts? Thanks
Kevin
Reggie_Schultz
March 30th, 2007, 10:47 AM
Are you using floats for your columns?
fasterthanlight™
March 30th, 2007, 10:48 AM
you won't be able to make the columns stretch to the height of the container, you'll have to fake that using faux columns (theres an article about this on www.alistapart.com, search "faux columns" or something like that)
As for the footer, your 2 columns will probably be floated left and floated right repectively, all you have to do to get the footer to appear after the columns is apply a clear: both; to your #footer in the CSS.
fasterthanlight™
March 30th, 2007, 10:50 AM
you won't be able to make the columns stretch to the height of the container, you'll have to fake that using faux columns (theres an article about this on www.alistapart.com, search "faux columns" or something like that)
As for the footer, your 2 columns will probably be floated left and floated right repectively, all you have to do to get the footer to appear after the columns is apply a clear: both; to your #footer in the CSS.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.