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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:45:58+00:00 2026-05-26T15:45:58+00:00

How can I resize a Div on window resize, which the div is in

  • 0

How can I resize a Div on window resize, which the div is in between other div’s and I can’t think of how; but I want that div; to have a height; so that its beneath div; is shown as footer.

Ok I know that what I said doesn’t make sense but here is what I meat: http://i44.tinypic.com/9v8t1u.jpg

In other words, I am trying to do what http://www.tumblr.com has done on their index. The ’30 reasons you’ll love Tumblr’ is not positioned as absolute and bottom 0, but they’ve set overflow to hidden, and they change the height of the middle div everytime a window resizes.

I am using jQuery as well.

It’s not that I am lacking of coding skills but I just can’t think of a way to perform the Div3 is always shown as a footer.

Does anyone know how to do this?

Thanks alot

  • 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-26T15:45:58+00:00Added an answer on May 26, 2026 at 3:45 pm

    You don’t really need jQuery for this. Check out this css solution: http://ryanfait.com/sticky-footer/

    * {
    margin: 0;
    }
    html, body {
        height: 100%;
    }
    .wrapper {
        min-height: 100%;
        height: auto !important;
        height: 100%;
        margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
    }
    .footer, .push {
        height: 142px; /* .push must be the same height as .footer */
    }
    
    /*
    
    Sticky Footer by Ryan Fait
    http://ryanfait.com/
    
    */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have registered a trigger on window resize. I want to know how I
I have this script that positions a div's background in proportion with the window
I have a div that occupies part of the browser window. I need the
I have a diva and its height is auto calculated using jquery using $(window).load(function(){
Is there a way that I can resize the window only in proportion? It
I have problem with the background div, when I resize the window too much,
How can I resize the height of a ListView depending on how many items
How can I make a CListCtrl to resize the width of its columns automatically?
I have a page which contains a div which must be resized via JS
I have a div $(#organizer_listings_container) initially centered using CSS margin: 0 auto; which uses

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.