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

  • Home
  • SEARCH
  • 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 6177467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:16:54+00:00 2026-05-24T00:16:54+00:00

Using plain old HTML, how can I achieve a layout like this? I’ve got

  • 0

Using plain old HTML, how can I achieve a layout like this?

enter image description here

I’ve got 10-50 dynamic elements in an array, and I need to display them as shown.

If I just add all them to a container div, it goes left to right.

If each element is a div, they stack top to bottom, but never wrap to the next column.

How is this typically achieved using plain old HTML? edit I need this to work dynamically, e.g. if there maybe only be 2 items, or 50; I can’t hard-code 3 <ul> lists.

  • 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-24T00:16:55+00:00Added an answer on May 24, 2026 at 12:16 am
    <!DOCTYPE html>
    <html>
    <head><title>Test</title>
    <style type="text/css">
    .flow ul {
        float: left;
    }
    
    .flow li {
        list-style: none;
    }
    </style>
    </head>
    <body>
        <div class="flow">
            <ul>
                <li>Albany, 1324</li>
                <li>Albuquerque, 3456</li>
                <li>Baton Rouge, 4566</li>
                <li>Bellvue, 9856</li>
                <li>Catameran, 75696</li>
            </ul>
            <ul>
                <li>D SiteName, 1324</li>
                <li>E SiteName, 3456</li>
                <li>F SiteName, 4566</li>
                <li>SiteName, 9856</li>
                <li>SiteName, 75696</li>
            </ul>
            <ul>
                <li>SiteName, 1324</li>
                <li>SiteName, 3456</li>
                <li>SiteName, 4566</li>
                <li>SiteName, 9856</li>
                <li>SiteName, 75696</li>
           </ul>
       </div>
    </body>
    </html>
    

    Or if you mean something without CSS when you say, “plain old HTML”, you might want something like this but this is perhaps not something you want because it doesn’t use the <div> element.

    <!DOCTYPE html>
    <html>
    <head><title>Test</title>
    <body>
        <table>
        <tr>
        <td>
            <ul>
                <li>Albany, 1324</li>
                <li>Albuquerque, 3456</li>
                <li>Baton Rouge, 4566</li>
                <li>Bellvue, 9856</li>
                <li>Catameran, 75696</li>
            </ul>
        </td>
        <td>
            <ul>
                <li>D SiteName, 1324</li>
                <li>E SiteName, 3456</li>
                <li>F SiteName, 4566</li>
                <li>SiteName, 9856</li>
                <li>SiteName, 75696</li>
            </ul>
        </td>
        <td>
            <ul>
                <li>SiteName, 1324</li>
                <li>SiteName, 3456</li>
                <li>SiteName, 4566</li>
                <li>SiteName, 9856</li>
                <li>SiteName, 75696</li>
           </ul>
        </td>
        </tr>
        </table>
    </body>
    </html>
    

    You might also want to use lines terminated with <br> elements intead of <ul> and <li> elements depending on what you need.

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

Sidebar

Related Questions

I am using a dynamic HTML template system (like PHP) and I'm wondering if
I'm trying to create a sort of 'template' in plain old html, which can
Im using aspnet 3.5, vs 2008, ajax 2.0, plain old javascript (not using any
I'm writing an Adobe AIR app using plain HTML which needs to upload photos
How to strip off HTML tags from a string using plain JavaScript only, not
This is not a question about a specific framework. I am using plain php
I would like to encode some plain text using Ruby and the Crypt library
I'm storing my passwords on a server, and, using nothing but HTML/JavaScript, I need
I am using plain old school Javascript - So no jQuery responses please!. I
In relatively big projects which are using plain old make , even building the

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.