View Full Version : Balanced 2 column dynamic layout?

Feb 2nd, 2007, 11:31 PM
Hi there

I am using 2 columns to display my news articles, short groups of text... I am putting one below the other (5 times) and on the right column the same (5 times). So 10 articles per page are seen at a time. They are taken from a database...

The problem is the articles are not equal length, if they are badly grouped one column can be MUCH taller than the other one, rendering the output eye unpleasant...

By using 5 and 5 articles (2 columns) I think CSS can not help much here... They are as they are... What about putting one on the left and one on the right and if there is still space the third also on the right? Is this possible with floats somehow?

Or is there no other way than to make the articles simmilar wide groups?