Have a look at the following jsFiddle:
how would you float the different ul li elements so they line up beside each other them move to the next line when they hit the right boundary?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not entirely sure what you want to do, but you could do something like this
Example: http://jsfiddle.net/DNB9T/5/
Basically,
floatonly direct children (firstlis) of theul.sitemap.Add a
marginto space them out.Give it a
min-heightso the floated elements clear each other. I picked160px, you may need to adjust.