Multiple row ul | Multi-line list | CSS | HTML
Published by Nicholas Dunbar on December 24th, 2012
I wanted to have a list where each element wrapped according to its containers dimensions. Lets start first with the problem I had, then move on to the solution. So if you want the list to conform to the box and put as many list elements (LI) on each row or line.. you can do this:
So if you want the list to conform to the box and put as many list elements (LI) on each row or line..
you can do this:
The HTML and CSS are as follows for this multi-row list:
I hope this helps