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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:36:23+00:00 2026-05-27T14:36:23+00:00

I have a countdown timer and a responsive wallpaper. Now what I want to

  • 0

I have a countdown timer and a responsive wallpaper. Now what I want to do is that center the div at the bottom of the page & it should always stay at bottom. I went through some similar questions on StackOverFlow but by implementing that code I used to get a scrollbar or there was some space left at the bottom of the page. These are the following codes I used:

 div { 
   position: absolute; 
   height: 100px; 
   top: 100%; 
   margin-top:-100px; 
}

The above code gave me a scroll bar and the following code leaves some space at the bottom

position:absolute;
bottom:0;

This is the CSS on the index page for the Responsive image :

<style>

body {

background-attachment: fixed;

background-image: url(bg.png);

background-position: top center;

background-repeat: no-repeat;



margin:0;

padding: 0;



background-size: cover;

-moz-background-size: cover;

-webkit-background-size: cover; }

</style>

& this is the style.css which I have

    body, p, span, div                                                              { font-family: 'Droid Sans', arial, serif;font-size:12px;line-height:18px;color:#6d6d6d; } 


.countdown                                                                      { padding-top:15px;width:100%;margin:auto; }
.countdown .countdown_section                                                   { background:url('images/backcountdown.png') no-repeat 1px top;float:left;width:54px;height:145px;margin:0 5px;text-align:center;line-height:6px; }
.countdown .countdown_amount                                                    { font-size:15px;color:#ab7100; text-shadow:0 0.8px #fedd98; line-height:52px; font-weight:bold; text-align: left; }
.countdown span                                                                 { font-size:8px;color:#999999;text-transform:uppercase;line-height:26px; }

Actually there’s just one div class on the index page named “countdown clearfix”. I’m a noob at HTML/CSS so I needed some help.

  • 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-27T14:36:24+00:00Added an answer on May 27, 2026 at 2:36 pm

    You can also try the sticky footer technique:

    <!DOCTYPE html>
    <html>
    <head>
      <style>
        /* Add styles from next code block here if you want them in the same file */
      </style>
    </head>
    <body>
      <div id="wrapper">
    
        <!-- Regular page contents -->
    
        <div id="push"><!-- Leave this element empty --></div>
      </div>
      <div id="footer">
        <!-- Countdown goes here -->
      </div>
    </body>
    </html>
    

    With the following CSS (in a separate file or inside the <style> tag):

    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    #wrapper {
      min-height: 100%;
      height: auto !important;
      height: 100%;
      margin-bottom: -100px; /* <- If you change this height... */
    }
    #footer, #push {
      height: 100px;         /* <- ...then you should also change this height! */
    }
    
    body {
      background-attachment: fixed;
      background-image: url(bg.png);
      background-position: top center;
      background-repeat: no-repeat;
      background-size: cover;
      -moz-background-size: cover;
      -webkit-background-size: cover;
    }
    

    Notice how <html>, <body> and <div id="wrapper"> are all 100% height of the viewport, and that the <div id="wrapper"> then allows some room at the bottom with a negative margin of 100px, which is then filled by the <div id="footer">. The <div id="push"> is just there to assure that the room for the footer is always available.

    If the page content is smaller than the viewport, the footer will ‘stick’ to the bottom of the browser viewport, if the content is bigger, then the footer will always be at the bottom.

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

Sidebar

Related Questions

I have a countdown timer that onFinished I want to have the screen change
I have a control that is basically functioning as a client-side timer countdown control.
I have got a piece of code, that should countdown some number (in this
I have a countdown timer in javascript that is called by a code behind
I have a countdown timer textfield that displays 60 as a placeholder (grey). When
I am using the jquery countdown timer here http://www.littlewebthings.com/projects/countdown/ and I have found that
I have a countdown timer that displays the number of seconds left on a
I have a javascript countdown timer that works by taking a specified date and
I have a this working countdown timer in jQuery but for now I'm just
I want to use a countdown timer in my app. I have this date

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.