Hi, Im working on a forum layout and am quite stuck with my div elements. This solution would be easier to code using tables but id prefer to use divs.
I have a "row" comprising of 2 "columns" (one dive next to another).
I can place them together no problem, what is causing a problem however is getting one to be the same size as the other.
Obviously with a forum, posts are different lengths. The message body is going in the div on the right, and user details on the left. When a short post is made, the right div is much smaller than the left but when a long post is made, the left div is much smaller than the right.
To try and resolve this, i placed both inside a single div and gave them (left and right) the height: 100% property... unfortunately this just filled the page.
Is there a way to make this work? I was thinking about minheight / maxheight and using a scroll for the right div but was also wondering if there was a better way of doing it?
Thanks in advance
~*Gwar3k1*~
"To the pressure, everything's just like: an illusion. I'll be losing you before long..."
I have a "row" comprising of 2 "columns" (one dive next to another).
I can place them together no problem, what is causing a problem however is getting one to be the same size as the other.
Obviously with a forum, posts are different lengths. The message body is going in the div on the right, and user details on the left. When a short post is made, the right div is much smaller than the left but when a long post is made, the left div is much smaller than the right.
To try and resolve this, i placed both inside a single div and gave them (left and right) the height: 100% property... unfortunately this just filled the page.
Is there a way to make this work? I was thinking about minheight / maxheight and using a scroll for the right div but was also wondering if there was a better way of doing it?
Thanks in advance
~*Gwar3k1*~
"To the pressure, everything's just like: an illusion. I'll be losing you before long..."