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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:45:22+00:00 2026-06-11T02:45:22+00:00

Hello! Here is a problem: I have several (up to 5) divs with different

  • 0

Hello! Here is a problem: I have several (up to 5) divs with different heights. Inside those divs are portlets, which can grow in height. Here is a simplified example:

.clz {
  float: left;
}
<div class="container">
  <div class="clz">1111111111<br/>1111111111</div>
  <div class="clz">2222222222<br/>2222222222<br/>2222222222</div>
  <div class="clz">3333333333<br/>3333333333</div>
  <div class="clz">4444444444<br/>4444444444</div>
</div>

Here is a JSFiddle, where you can see it.

When I decrease my browser window width, divs are wrapped, which is very good. The bad part is that 4444444444 is stuck at 2222222 – it does not fall to the start of the page:

1111111 2222222 333333
1111111 2222222 333333
        2222222 444444
                444444

Desirable behaviour is that when wrap occurs when 4444444 is placed at the beginning of the page at completely different line:

1111111 2222222 333333
1111111 2222222 333333
        2222222
4444444
4444444
  • 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-11T02:45:23+00:00Added an answer on June 11, 2026 at 2:45 am

    You can use display:inline-table for this. Write like this:

    .clz{
        display:inline-table;
    }
    

    Check this http://jsfiddle.net/eGawU/13/

    It’s till IE8 & above

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

Sidebar

Related Questions

Hello every one here I have a problem. I have a file in which
Hello again everyone, This time I have a problem with Intent & Extras. here's
Hello there i'm having a problem here i have an add and edit form
Here's the problem, I have a bunch of directories like S:\HELLO\HI S:\HELLO2\HI\HElloAgain On the
hello im just having a problem here with PREG_MATCH_ALL() lets say i have 2
enter code here hello, everyone, can somebody explain what is my problem in this
Hello i have new Problem with Add Form my problem here WARNING: /test.xhtml @24,173
SQL server 2008 Hello here is my query which returns the result SELECT *
I have some problem here. Here it is: I have this class public class
Here is a pruned version of a problem I have using QT/linux. The program

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.