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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:50:14+00:00 2026-06-14T00:50:14+00:00

I have fixed footer DIV and content DIV. Footer DIV is fixed so it

  • 0

I have fixed footer DIV and content DIV. Footer DIV is fixed so it is visible all time. Content DIV is 100% height, but it touches footer DIV and crosses it to the end. I want it just to end when footer begins.

<div id="footer">
</div>

<div id="content">
</div>

Here is a jsFiddle link: http://jsfiddle.net/MXMWe/3/

Problem: Content DIV (with its text) goes over footer.

Note 1: Footer has to be visible all time no matter where you scroll (possibly fixed.

Note 2: Scrollbars have to be normal as it is when you first load browser. No changes there.

Here is an image telling what I want to achieve:
enter image description here

I will give more info if asked.

Thanks a lot.

  • 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-14T00:50:15+00:00Added an answer on June 14, 2026 at 12:50 am

    I updated the jsfiddle:

    http://jsfiddle.net/MXMWe/4/

    A few things:

    1. I added a <div id="footer-padding></div> before the closing div in #content. Then in the css added height:120px; (the same height as the #footer ) – This allows the content text to not be stuck at the bottom of the site, but instead the very top of the footer.
    2. I removed the opacity that was on the footer because if you have the opacity it effects the entire div – AKA the text from the content div would be visible behind it since it’s transparent.
    3. I added a z-index: 2 to the #footer to ensure it is above the #content at all times.

    If you’re going to have an opacity/transparency as the background of the footer you will see anything it’s above, behind it.

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

Sidebar

Related Questions

I have a fixed footer div and a content div. Content div is 100%
EDIT: I have fixed all but two warnings now, so thank you all for
Ok, so the issue is I have a header, footer and the content div
Header, footer and sidebars have fixed position. In the center a content area with
This seems pretty elementary, but I am trying to get a fixed-position footer div
I have a content div that loads different pages. I can't set fixed position
I have been trying to use the min-height:100% to get my content area to
I have a fixed footer on my site here: http://starprovisions.com/dev/bacchanalia.html On my 1360x768 screen
I have made a design with a fixed header and footer, with a liquid
I have a footer that is fixed to the bottom of the viewport. 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.