How to make line break in ul horizontal list for every x list?

Gimenez

New Member
I have horizontal dynamic \[code\]ul\[/code\] list build by PHP like this:\[code\]List1 List2 List3 List4 List5 List6 List7 List8 List9 List10\[/code\]Is there a way to make new line every 3 lists? So, the result will look like this:\[code\]List1 List2 List3List4 List5 List6List7 List8 List9List10\[/code\]I know I can adjust the \[code\]ul\[/code\] width to make my lists look like above.But what I want is to make new line for every 3 lists. Is PHP, CSS, or JavaScript can do this? Anyone can help?
 
Back
Top