php - Equalizing content between columns -


i looking optimized way of displaying dynamically generated items sorted , grouped based on initials (like image below). groups can have different number of items , therefore total number of items not known.

what best solution spread groups across columns(they should remain sorted)?

currently groups , items generated php , spread across columns(divs) contain groups , items within ul , li items.

https://www.dropbox.com/s/ub3mg3twm0eg8b6/columns.jpg

thanks in advance,

you can use css3 columns https://developer.mozilla.org/en-us/docs/web/guide/css/using_multi-column_layouts , work polyfill https://github.com/betleywhitehorne/css3multicolumn


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -