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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:27:02+00:00 2026-05-31T16:27:02+00:00

If you have a parent div that wraps a fixed height div and a

  • 0

If you have a parent div that wraps a fixed height div and a 100% height div. However, the fixed height div overlaps it’s parent. Please check out this fiddle: http://jsfiddle.net/Wcgvt/.

Thank you!

  • 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-31T16:27:03+00:00Added an answer on May 31, 2026 at 4:27 pm

    I’ve forked your Fiddle and added some CSS here.

    What you want to do is make your container (d3) position: relative so that you can use position: absolute on the overflowing container, like this:

    .d3 {
        height:100%; 
        position: relative;
    }
    
    .d3-2 {
        max-height: 100%;
        overflow: auto;
        position: absolute;
        bottom: 0px;
        top: 54px;
        left: 0px;
        right: 0px;
    }
    

    Here, I’m setting top to 54px to push it down from the header, and every other dimension to 0px to push it to the edge. Change top: 54px to however high you header is.

    The only caveat this method has is you have to set an explicit height for the header.


    As an aside, I hope you’re using more sensible class names in your actual code; I lost track of which d is which a lot of times.

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

Sidebar

Related Questions

I have a main parent div that is .resizable(). One of it's child divs,
I have noticed that both IE6 and IE7 push the parent div down when
I have a function that prepends a li tag to a parent div just
There has to be a simple explanation for this. I have a parent <div>
I have this html: <div class=foo parent> <div class=child></div> </div> with some css: .foo{
I have a parent div #modal_share that contains a floating div modal_big_hline and a
I have a div ( parent ) that contains another div ( child ).
I have a parent div, that holds three div's. They are basically columns. I
I have a a parent div that spans the width of the browser with
I have a #header div that is 100% width and within that div I

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.