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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:30:46+00:00 2026-06-02T02:30:46+00:00

Alrighty, I’m going to try to explain what I have going on. Let me

  • 0

Alrighty,

I’m going to try to explain what I have going on. Let me know if you need more information.

Basically, I have a div container, and I have it styled at height:100%; It will do 100% but it will only be 100% for the current browser/window size.

For example: if I maximize the browser, the container will do 100%, but if I scroll down, that container’s height only goes as much as whatever the browser height was.

Another example: if I minimize the browser to a certain size and refresh the page, the container will go 100% again to the window size only. So if I maximize the browser, the height container will still be the same height has if the browser was minimize.

So if I have a long page, the container doesn’t go all the way down to the page, the container only goes so far as the window’s height size when the page loads.

I’m trying to get the container to go all the way 100% till the bottom of the page, even if I have a footer or header, the container should be 100% between the two.

So I’ll try to post up the most relevant code:

body,html
{
   display:block;
   position:relative;
}
#container_100percent
{
   overflow-x:hidden;
   position:relative;
   overflow-y:auto;
   width:20%;
   min-height:100%;
   height:100%;
   float:right;
}


<div>
  <div id="container_100percent">
     <!-- some stuff !-->
  </div>
</div>
  • 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-02T02:30:48+00:00Added an answer on June 2, 2026 at 2:30 am

    The height of 100% is the height of his parent.

    This means: if the parent div-container has no height, the height will be set to 100%, too and same for body. This is why your div has the height of your window.

    So you need to give your div wrapper a height and the inner div will take on this height.

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

Sidebar

Related Questions

Alrighty, let's try this again! I'm currently developing an application that will be relying
Alrighty. Here is my problem. I have just about everything done. I just need
Alrighty so, I've been wanting to learn C for awhile, and now I have
Alright so I have no idea how to even begin doing this But basically
Alrighty... so there's a couple things going on here. First, I'm trying to create
Alrighty, coding in Perl and just had a quick question. I have class created
Alrighty so below I have this script doing exactly what I want; I'm using
Alright so here is my problem. Basically I have a string with 4 words
Alrighty then, howdy first off; quick question I have a form that has multiple
Alright. So I have a very large amount of binary data (let's say, 10GB)

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.