CSS - break long list into columns by height -


i'm trying create multi-column list result i'm getting not desired.

in this example, need break right list 2nd column @ when height reaches i.e. 400px , same rest of <li> elements (in link above, want break column 2 after "baby gifts" , put "men" in second column.

i've tested many things such this is there way break list columns? , this doesn't create column want.

here's result i'm after enter image description here , here's jsfiddle

any suggestions?

the solutions in both questions you've referenced involve columns property work should. content can't split want because 400px cutoff small.

http://jsfiddle.net/hvzkg/1/

#productsitemap {     -webkit-columns: 3;     -moz-columns: 3;     columns: 3;     height: 400px; } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -