hooloovoo_83
07-26-2006, 08:47 PM
Hi,
I am fairly new to CSS and am having some problems.
Basically what I need is two vertical columns, both of the same height, where both expand to fit the contents (which will by dynamic). Both columns should therefore be tall enough to fit the content.
So far I have tried two divs within a containing div, with divs being relatively positioned. I use margins and overflows, and overflow:hidden on the containing div to get them to both be the same height. The problem here is, whatever content I add to the right box, the left box increases in height by the same amount.
Example code would be very helpful, as I say I am new to this.
Thank you all in advance
I am fairly new to CSS and am having some problems.
Basically what I need is two vertical columns, both of the same height, where both expand to fit the contents (which will by dynamic). Both columns should therefore be tall enough to fit the content.
So far I have tried two divs within a containing div, with divs being relatively positioned. I use margins and overflows, and overflow:hidden on the containing div to get them to both be the same height. The problem here is, whatever content I add to the right box, the left box increases in height by the same amount.
Example code would be very helpful, as I say I am new to this.
Thank you all in advance