Matching heights for column classes (CSS)? [SOLVED]
Posted: Tue Oct 16, 2007 2:22 am
This is hard to explain, so bear with me... I'm new to CSS.
I have two classes, one for each column (i.e. left column and right column-- the left column is the navigation stuff and the right column is the main text of the page). Each of those two columns has a white background, and the behind the two columns is a black and blue background. Each column class has a min-height field (around 1200 pixels) to make sure they stretch down to at least a certain point on the page.
But if the right column, for example, has more text than the left column (so the right column has more content in it and stretches down a page or two, to a height of say 2000 pixels), their heights will be different. The left column will be at its min-height, while the right column will be at that higher height (2000 pixels in this example).
Is there any way that I can have the left column look at the right column's height and say "oh, right column is at 2000 pixels, so I should increase my height to that, too, rather than stay at 1200 pixels" ?
I have two classes, one for each column (i.e. left column and right column-- the left column is the navigation stuff and the right column is the main text of the page). Each of those two columns has a white background, and the behind the two columns is a black and blue background. Each column class has a min-height field (around 1200 pixels) to make sure they stretch down to at least a certain point on the page.
But if the right column, for example, has more text than the left column (so the right column has more content in it and stretches down a page or two, to a height of say 2000 pixels), their heights will be different. The left column will be at its min-height, while the right column will be at that higher height (2000 pixels in this example).
Is there any way that I can have the left column look at the right column's height and say "oh, right column is at 2000 pixels, so I should increase my height to that, too, rather than stay at 1200 pixels" ?