R
R
Ruslan2011-04-10 21:31:30
HTML
Ruslan, 2011-04-10 21:31:30

Split long HTML list into columns based on page width?

Is it possible to do this without using complex JS? Suggest a solution.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Arthur Koch, 2011-04-10
@dudeonthehorse

Only according to the principle:
1 2 3
4 5 6
7 8 9

D
dmomen, 2011-04-10
@dmomen

Impossible.

S
sainnr, 2011-04-10
@sainnr

Will this solution work: A list split into columns ?

M
Mark, 2011-04-10
@printf

In an ideal world, you could use CSS3 column-count and @media query to determine the width of the page; nothing works in IE.

B
Baileys, 2011-04-11
@Baileys

Perhaps I misunderstood the question, but what's wrong with setting everything to UL - LI and setting the style for LI float: left? Then, at any window size, the information will automatically be located in the maximum possible number of columns.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question