View Full Version : Best way to split <ul> in 6 columns with CSS

11-23-2012, 12:21 PM
I have an <ul> list with 248 elements, and I would like to split it into six colums (42 elements, 42, 41, 41, 41, 41). I already divided it into divs (#one, #two, #three, #four, #five, #six) in HTML.

What is the best way to divide it into 6 columns?

Thank you.

# # # Edit

I used width: 16.666%; float: left; and it is working.

Thank you.

11-23-2012, 03:02 PM
If you have solved your issue and are even editing your first post to let us know then you can also set it to “resolved” in the advanced edit mode by choosing “resolved” from the select box left of the thread title.