Click to See Complete Forum and Search --> : Height of a <div> base on another <div>
Hi!
if i've got 3 <div> left - middle - right and the height of the middle <div> is never the same, how can i set the height of the <div> left and right always the same as the middle <div> ??
t
David Harrison
02-17-2004, 11:30 AM
I'm not sure that it is possible, but you can make it appear how you want it (I think).
Check out the attachment, I have put borders around the left and right side-bars so that you can see their actual dimensions.
Remember, this is only a crude example and so no actual thought or effort has gone into the design what-so-ever.
Edit: Having thought about it a bit more, you might be able to have the two side-bar divs inside a centre div and then set their heights to 100%, that should make them the same height as whatever they are contained in. I'll just try this idea out.
Paul Jr
02-17-2004, 01:22 PM
You may be interested in this ALA Article. (http://www.alistapart.com/articles/fauxcolumns/)