I have a website I’m working on that I should have perfected the layout on FIRST. But I am now faced with the issue of the columns not going all the way to the bottom. I have read the tutorials on how to get the 3 column layout in CSS from another person http://www.ejeliot.com/blog/61
The problem is I’m still lost. Can anyone look at this simple template (www.centuryautosd.com/help.asp )and make the CSS so that the columns go all the way down regardless of how tall this page gets? The data is generated dynamically so the height requirements will constantly change with each page that is viewed.
Here is the link to the real page: http://www.centuryautosd.com/help.asp
thanks!
Here you go:
This uses the technique described in http://www.ejeliot.com/samples/equal-height-columns/example-4.html of the page you linked where there is a negative bottom margin used for each of the columns and then a container with overflow hidden in order to hide the rough edges. I didn’t apply the technique to the middle column since it appear that column will always be the longest but if you end up in a situation where the middle column isn’t the longest and causes layout issues you can apply the same technique by including
in the style for it.
Just to sum up, what I did was add a container div that encompasses the three columns in your layout. I then added an overflow hidden for the container and the margin & padding shown above to the columns.