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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:10:07+00:00 2026-05-27T00:10:07+00:00

Given a 2 pane 100% height based faux column layout, I am trying to

  • 0

Given a 2 pane 100% height based faux column layout, I am trying to have a sticky footer in the right column that does not float over the column’s content if the browser viewport is too small to display all the content.

My current problem is that the footer will float over the content if the browser viewport is to small.

This is what I am after:

desired result

With the code below though the footer (3) will move over the content (2).

Explanation:

  1. Sidebar – this will have to extend to 100% height of the browser viewport or the combined height of 2+3 (whichever is greater)
  2. Content – Varying amounts of content.
  3. Footer – fixed height footer. This is either at the bottom of the browser window or below the content from no.2 whichever is greater.

Current html:

<div id="wrapper">
    <div id="sidebar"></div>
    <div id="content">
        <div id="footer"></footer>
    </div>
</div>

Current css:

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
#wrapper {
    margin: 0 auto;
    width: 1000px;
    height: 100%;
}
#sidebar {
    width: 400px;
    height: 100%;
    float: left;
}
#content {
    width: 600px;
    float: left;
}
#footer {
    position: absolute;
    bottom: 0;
    height:200px;
}

Any help or pointers to get the footer to stay below the content no matter what would be much appreciated.

  • 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-27T00:10:08+00:00Added an answer on May 27, 2026 at 12:10 am

    You need something like this? http://jsfiddle.net/L6BLa/3/

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

Sidebar

Related Questions

I have given a class in pane.css : .activitypodPadding{padding:11px 16px;} This class is called
I am trying to find a simple way to layout a 3 pane window
given i have a button that would be added to different panels am i
Given that I have the array Let Sum be 16 dintptr = { 0
I have the following code: JEditorPane pane = new JEditorPane(); pane.setPage(http://www.google.com); the setPage gives
I am trying to get a simple effect working in jQuery, and only have
I have an application that uses Swing. The display I am working on, uses
I have an HTML page divided vertically into Header Body Footer The body in
I'm looking for a method that computes the line number of a given text
I have a pane with two tables A and B. When a row is

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.