Stretching DIVs



Hello all,

I’m using a modified version of this ( template. If you don’t feel like cutting and pasting, it’s code for a tableless 3 column layout. The only problem I’m having with it is that I can’t get the divs to be the same length.

In my case, I modifed it to two centered columns. The column on the right has it’s height set to ‘auto’ and I want the column on the left, to equal whatever height the browser determines the right column to be. (There is very little content in the left column so it ends up being shorter.) Is this possible?

Thanks in advance,

  • chris



Why do you not want to use tables? I know that greater control of location placement is possible with these techniques, but some browsers (including mine) garble up the pages that you referenced.

With a table, you would not have a problem of equal column heights.