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

The Archive Base Latest Questions

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

I’m not quite sure how to ask this question. What I’m trying to do

  • 0

I’m not quite sure how to ask this question. What I’m trying to do is have an element on the bottom of my page that will always stick to the bottom, but if the page is too short it will be pushed down by the other elements on the page.

Example:

The left side middle graphic and the right titles are all contained within #mainBodyContent. If the browser window is small enough that this div runs into the “Latest in Geek” flash box, I want the flash box to be pushed down. However if #mainBodyContent isn’t running into the flash box, I want the flash box to stick to the bottom in the place where it’s at currently. I’m rather confused as how to pull it off.

Any suggestions/help out there? Am I making sense?

  • 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-20T02:45:00+00:00Added an answer on May 20, 2026 at 2:45 am

    You can use absolute positioning combined with padding. Example can be seen here:

    Static Footer Example

    <html>
    <head>
    <style type="text/css">
        html, body { height:100%; }
    
        /* layout */
        #container { 
            width:800px; margin: 0px auto; 
            position: relative; min-height: 100%; 
        }
        #top { height: 12px; } /* margin on header breaks liquid layout */
        #header { position: relative; }
        #content { padding-bottom: 72px; } /* 60px footer height plus 12px padding */
        #footer {
            clear: both;
            position:absolute;
            bottom: 0px;
            width:100%;
            height:60px;   
            text-transform: uppercase;
            background-color: red;
         }
        .section { 
            margin-top: 12px; 
            padding-top: 12px; 
            border-top: 1px solid black;
            border-bottom: 1px solid black;
        }
    
    </style>
    </head>
    <body>
        <div id="container">
            <div id="top"></div>    
            <div id="header">
                <h1>Title</h1>
            </div><!-- end header div -->
    
            <div id="content">
    
                <div class="section">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
                </div>
    
            </div><!-- end content div -->
    
            <div id="footer">Footer content here</div>
    
        </div><!-- end container div -->
    </body>
    

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I need a function that will clean a strings' special characters. I do NOT
Basically, what I'm trying to create is a page of div tags, each has
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a small JavaScript validation script that validates inputs based on Regex. I
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.