Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6584105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:29:44+00:00 2026-05-25T16:29:44+00:00

Have a look at the following jsFiddle: http://jsfiddle.net/DNB9T/ how would you float the different

  • 0

Have a look at the following jsFiddle:

http://jsfiddle.net/DNB9T/

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:29:45+00:00Added an answer on May 25, 2026 at 4:29 pm

    Not entirely sure what you want to do, but you could do something like this

    ul.sitemap > li{
        float:left;
        margin:1em;
        min-height:160px;
    }
    

    Example: http://jsfiddle.net/DNB9T/5/

    Basically, float only direct children (first lis) of the ul.sitemap.

    Add a margin to space them out.

    Give it a min-height so the floated elements clear each other. I picked 160px, you may need to adjust.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have a look on following application http://itunes.apple.com/us/app/fatbooth/id372268904?mt=8 i think they are using the same
I have the following: http://jsfiddle.net/oshirowanen/2vqvD/ How do I dynamically position the .dropdown element no
Have a look here: In the following code, what would be the type of
Please have a look at the following url: http://server.patrikelfstrom.se/johan/fysiosteo/ I want the image to
Have a look at the following code you are not required to read the
In my current project, Workflows have comments. Please have a look at the following
We mostly tend to following the above best practice. Have a look at String
I have a data source with about 2000 lines that look like the following:
I have a few procedures, for simplicity sake, look like the following: public string
am new here. i have a slight problem; PLease look at the following code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.