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 6782651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:46:08+00:00 2026-05-26T16:46:08+00:00

So I need to align columns, with divs that have a set width inside

  • 0

So I need to align columns, with divs that have a set width inside a parent that has a max-height of the screensize.

So, for example:

[div]
[div]
[div]
[div]

Would be the max height, but if we go an extra div it needs to do this:

[div][new_div]
[div]
[div]
[div]

and so on. So once it hits the max height (of the screensize, or whatever) the divs needs to auto column over and align to the top right.

In summary:

A maximum of 2 columns, filled with data that stacks upon eachother [one after the other, veritcally]. Once it hits the max width [which is the screensize] I need it to automatically create a new column to hold the new rows.

  • 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-26T16:46:08+00:00Added an answer on May 26, 2026 at 4:46 pm

    Hm…that’s tricky. You might be able to use CSS3 columns to pull this off, though they aren’t supported in IE as far as I know.

    Since you said your <div>s have a set width, you could make that width the width of the column. Then when the stack of <div>s fill up the allotted vertical space, they should overflow into a new column.

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

Sidebar

Related Questions

I need to align two divs next to each other, so that each contains
I have three values I need to align in a dropdown box. How can
I have an exisiting gridview that I need to fix/improve here at work. Basically
I need to align text using li in a centered table so that the
My problem is following: I need to align text inside DateTimePicker component to center.
I need to write CSS for adjusting 2 columns divs contained in a fixed
I have a jqGrid that when I go into edit mode I need to
This is my markup, I need to align gray label under the blue label
I need help to align CSS buttons. I tried many different variations and I
Need a function that takes a character as a parameter and returns true if

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.