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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:32:51+00:00 2026-05-31T05:32:51+00:00

I have a container containing one float left and one float right div. I

  • 0

I have a container containing one float left and one float right div.

I want to position a footer on the right side div on the floor. Both left and right divs need to expand relative to the tallest div and the footer should stay on the bottom of the right side div at all times.

How can I achieve this? Can someone please provide me an example or point me to tutorial?enter image description here

EDIT:


OK, sorry for my terrible pic but I think you get the idea. Also, if the left div grows taller than the right, the right div should grow with the left and vise versa. If the content on the right grows, it should not overflow onto the footer.


EDIT

This is a screenshot of the latest attempt by jackthetipper. The footer is not yet on the bottom of the right side div even though content has been added to the left.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-31T05:32:52+00:00Added an answer on May 31, 2026 at 5:32 am

    Live demo. I believe this is what you are looking for:

    HTML

    <div id="wrapper">
        <div id="left">Left</div>
        <div id="right">Right</div>
        <div id="rightfooter">Text</div>
    </div>
    ​
    

    CSS

    #wrapper {
        width: 300px;
        height: 200px;
    }
    #left{
        background-color: #82ff68;
        float: left;
        width: 50%;
        height: 100%;
    }
    #right{
        background-color: #ff5c4a;
        float: left;
        width: 50%;
        height: 100%;
    }
    #rightfooter {
        height: 1em;
        width: 50%;
        background-color: blue;
        float: right;
    }​
    

    EDIT after comments

    Demo with footer in the div

    EDIT 2 after comments

    Second demo with expanding heights (dependant on each other)

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

Sidebar

Related Questions

I have two divs within a container. One floats left and one floats right.
As the title explains, I have one container div, containing two floating divs of
I have a container div that holds two internal divs; both should take 100%
I have one containing div with two child divs. All divs are the same
I have a containing div with an ID of blog-container and a set of
I'm trying to accomplish a layout like the one below: Two float:left divs are
In Theory I have a div (container) that when hovered over one of its
I have a div that contains inside 3 'floated' divs. The containing div has
I have a container div with a fixed width and height , with overflow:
I have a container filled with pairs. I want to iterate in it using

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.