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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:47:29+00:00 2026-05-20T15:47:29+00:00

I want the blue container to always be 70px high, while the previous green

  • 0

I want the “blue” container to always be 70px high, while the previous “green” div always max out the height available when the div is resized with javascript.

I’ve played around with it for a while without finding a proper solution. Help will be appreciated.

enter image description here

  • 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-20T15:47:30+00:00Added an answer on May 20, 2026 at 3:47 pm

    As promised, here’s my answer.

    absolute inside relative positioning is the easiest way to do this.

    Live Demo

    HTML:

    <div id="parent">
        <div id="left">height: 100%</div>
        <div id="right">Content</div>
        <div id="rightFooter">height: 70px</div>
    </div>
    

    CSS:

    #parent {
        position: relative;
        height: 200px
    }
    #left, #right, #rightFooter {
        position: absolute
    }
    #left {
        width: 200px;
        top: 0;
        bottom: 0;
        left: 0
    }
    #right {
        top: 0;
        right: 0;
        bottom: 70px;
        left: 200px;
        overflow-y: auto
    }
    #rightFooter {
        height: 70px;
        right: 0;
        bottom: 0;
        left: 200px
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a container div , inside which I want to pack a variable
I have one container div which contain 2 dynamic height (height haven't been set)
I have an example: http://jsfiddle.net/kamaci/uVQZc/3/ When I animate bigger blue div, I want to
My HTML: div.container My CSS: html, body { height: 100%; background-color: red; padding-left: 0px;
Area of concern - My Blue Div is overlapping over the green div. (I
I want to create an AlertDialog like this : I know that a blue
I want to color the background (SetBackgroundColour) of a wx.Panel with a blue to
want to know why String behaves like value type while using ==. String s1
I want to implement 3 DIVs inside a container, just like table rows top
This is my code (please see this fiddle ): HTML <div id=container> <span id=left>Left

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.