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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:54:23+00:00 2026-06-10T21:54:23+00:00

There are 2 nested divs on both left and right column with varying heights.

  • 0

There are 2 nested divs on both left and right column with varying heights.
These divs form a frame-like shape. See http://jsfiddle.net/5fA3q/.

I’ve tried different css equal-height-tricks, they work but not in this condition and almost got it to work with
padding-bottom:999999px;
margin-bottom:-999999px;
and absolute positioning the shorter inner-div.

But alas, the padding-bottom is gone. See http://jsfiddle.net/5fA3q/11/

I hope someone knows the workaround.

  • 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-10T21:54:24+00:00Added an answer on June 10, 2026 at 9:54 pm

    You can use display:table-cell, but be aware that it doesn’t work on old browsers.

    HTML:

    <div class="wrapper">
        <div class="left">
             <p>Left</p>
             <p>Left</p>
             <p>Left</p>
             <p>Left</p>
             <p>Left</p>           
        </div>
        <div class="separator"></div>
        <div class="right">
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
            <p>Right</p>
        </div>
    </div>
    <div class="footer"></div>
    

    CSS:

    .wrapper{
        width: 500px;
        display:table;
    }
    .wrapper>div{display:table-cell;}
    .left{
        border:10px solid #0188ed;
        margin-right:10px;
        background: #0150e1;
        width: 180px;   
    }
    .right{
        width:270px;
        border:10px solid #0188ed;
        background: #0150e1;
    }
    .footer{
        background:#0181ec;
        height: 50px;
        width: 500px;
        border-top: 10px solid #ffffff;
    }
    

    DEMO: http://jsfiddle.net/5fA3q/12/

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

Sidebar

Related Questions

Is there any way to crate nested union types in F#? Something like this
I have a table inside a couple of nested divs. One column holds an
See image below. Notice the left and right borders are not filling the available
I have a ViewController class called GamePlay. In GamePlay there is a nested class
I'am filling tables in .net DataSet with data. There is a nested relation between
Is there any way to update nested documents by id or some other field?
Is there a jQuery type function to solve the problem of walking through nested
I am wondering if there is a way to simplify the nested loop below.
When a span is nested in a div with a different background there's a
In my application, there is a resource, machine, and a nested resource from machine:

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.