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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:35:59+00:00 2026-05-20T08:35:59+00:00

Have the following code. The height is variable so the height of the floating

  • 0

Have the following code. The height is variable so the height of the floating object needs to change, but it won’t. It only is as tall as what I put in it unless I fixed the height of the outer div. Where am I going wrong, how can I make it the full height without fixing the height?

EDIT: p tag is to the direct left of the floating div so it can’t be inside the inner one

<li>
<div style="height:(100% doesnt work, 100px does)>
  <div style="float:right; width:20%; height:100%">
    <div>
        Something at the top of page
    </div>
    <div>
        Something at the bottom of the page
    </div>
   </div>
   <p>Other stuff to the left</p>
</div>
</li>
  • 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-20T08:35:59+00:00Added an answer on May 20, 2026 at 8:35 am

    The reason is because 100% means 100% of its parent container’s height. If you want it to fill the entire window, you have to set each one of its parents’ heights. All the way up.

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

Sidebar

Related Questions

I have the following css code: #Layer3 { position:absolute; width: 89%; height: 40%; left:
I have the following code in Javascript: jQuery(document).ready(function(){ var actions = new Object(); var
I have the following code in this fiddle , I want the height of
I have the following code: div.leftnav { overflow: auto ; height: 50% ; }
So..Let's say I have the following code snippet function Rectangle(w,h){ this.width = w; this.height
I have the following code: private void Package_ContactDown(object sender, ContactEventArgs e) { ScatterViewItem svi
I Have following code: Controller: public ActionResult Step1() { return View(); } [AcceptVerbs(HttpVerbs.Post)] public
I have following Code Block Which I tried to optimize in the Optimized section
I'm trying to use opengl in C#. I have following code which fails with
I have the following code in a web.config file of the default IIS site.

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.