Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting two DIVs (floated side-by-side) the same length

0 views
Skip to first unread message

A Ratcliffe

unread,
Oct 28, 2003, 9:21:25 AM10/28/03
to
I have two (could be three eventually (looking for a flexible solution))
'columns', set up by Floating them one-by-one to the side. It all works
well, but unfortunately they are all different heights, depending on the
amount of content. Is there any way that (presumably by wrapping them in a
parent DIV), I can get them all to be the same visual height as the tallest
column?

Also, if one of the columns were made up of several DIVs within the column
DIV, ensuring that those inner DIVs spanned the height, with the lowest one
spreading to fill the remaining height.

Thanks in Advance

Ann-Marie Ratcliffe


David Lovell [MSFT]

unread,
Oct 29, 2003, 4:02:40 PM10/29/03
to
Create a parent div that includes the sub-divs. Set the height of each inner
div to 100%. They should all be as high as the parent. The parent will be as
high as the largest contained div.

--

Thanks,
David W. Lovell

This posting is provided "AS IS" with no warranties, and confers no rights.

If a script was included within this post, use of included
script samples are subject to the terms, specified at
http://www.microsoft.com/info/cpyright.htm"

Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.

"A Ratcliffe" <aratc...@archiNOSPAMmagic.net> wrote in message
news:%2317o96V...@tk2msftngp13.phx.gbl...

0 new messages