...

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



joliett89
11-23-2012, 11:21 AM
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.

VIPStephan
11-23-2012, 02: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum