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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:54:43+00:00 2026-05-23T15:54:43+00:00

I have a page that already has a footer permanently bottom-aligned using a container

  • 0

I have a page that already has a footer permanently “bottom-aligned” using a container with 100% height and the following css:

#footer {
position: absolute;
left: 0px;
right: 0px;
bottom: 0px;
font-size: 12px;
}

What I would like to do is have the buttons for my page’s form (denoted in the html below by the div with class “actionButtons”) always directly above the footer, regardless of the other content of the form. I can guarantee that the form’s content will never cause overflow.

<html>
<body>
    <div>
        <div class="wideContent">   
            <form>           
                <div class="actionButtons" style="text-align:right;">
                </div>
            </form>
        </div>    
    </div>

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

I’ve been messing with height/min-height with no success. What css would I need for the html above to always place the “actionButtons” div at the bottom of the window, just above the footer? Thank you in advance.

  • 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-23T15:54:44+00:00Added an answer on May 23, 2026 at 3:54 pm

    Since the <form> has position:relative the only way I can think of forcing the buttons to the bottom is position:fixed, for example…

    #footer {
        position:absolute;
        left:0;
        right:0;
        bottom:0;
        font-size:12px;
        height:25px;
    }
    
    .actionButtons {
        position:fixed;
        bottom:25px;
        left:0;
        right:0;
        height:10px;
    }
    

    …as in this demo. But it will require a height being set on the #footer which matches the bottom on the .actionButtons to place it correctly. (I have included a height on the .actionButtons for demo purposes).

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

Sidebar

Related Questions

I have a page that is already in an iframe that has another page
I have a page that already has the $_GET array initialized, and when a
I am linking to a page that has 100 likes already. I just started
So I have a page of HTML that has its own CSS file. It
I have a page that has an iframe From one of the pages within
I have a Page that has a single instance of a UserControl that itself
We have a page that ordinarily has two elements arranged side-by-side. Despite exploring a
I have a page that is using a non-standard font and arial as a
I have a page that has multiple select lists and when ever one of
I have a page that uses window.print(); which is already printed in the source.

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.