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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:00:49+00:00 2026-06-03T05:00:49+00:00

I have a design I’m working on that is almost complete, but I’m having

  • 0

I have a design I’m working on that is almost complete, but I’m having trouble getting the CSS to do what I want. What I am trying to do is something like this:

Figure 1, How it's supposed to look

However, when the page is generated, this is what the output looks like:

Figure 2, What it's doing

How can I get the third box to float up under the first and next to the second? I have tried every trick I know, but can’t get it to work. I should also mention that each block is added to the page by a loop in PHP pulling from a database, so I’m kinda limited by not having static content, and have no way of knowing ahead of time how tall a particular block is going to be.

  • 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-06-03T05:00:50+00:00Added an answer on June 3, 2026 at 5:00 am

    If the number of columns is variable, CSS can’t really do it (if you want it to work in all common browsers), so instead use jQuery Masonry which is designed to solve exactly this problem.

    Here’s me saying the same thing, but with more words: CSS two columns with known children width

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

Sidebar

Related Questions

we have a design office full of macs, but we want to achieve a
I have some design requirements that are not supported by Entity Framework, but are
I have to design an webapp that has the capability of working offline. So
I have a design based question where I want to avoid dynamic_cast but still
I have a design question :) I want to have multiple servlets but I
I have a design in css when displayed in Firefox appears correctly. But when
I have a design that I want to position the views into these section
I have to design a data structure that is to be used in a
I have to design a batleships game for friday but the course im doing
i have design an layout in that i have to place admob in bottom

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.