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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:46:19+00:00 2026-05-16T14:46:19+00:00

i am trying to do a page like this – http://www.wickham43.supanet.com/tutorial/headerfooterfixexample.html but i want

  • 0

i am trying to do a page like this –
http://www.wickham43.supanet.com/tutorial/headerfooterfixexample.html
but i want just the bottom to stay.
so i created this but this is not working. can you pls tell me why?

 <html>
<head>
    <title></title>
    <meta http-equiv="Content-Language" content="en" />
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css" media="screen,print">
body,
html{
    margin:0;
    padding:0;
}
div#middlewrap {

    margin-left:16px;
    padding-bottom:50px;
}

/* no positioning for IE5/Win - the whole page scrolls */
div#footerwrap {
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
    height:50px;
}
body>div#footerwrap {
    position:fixed;
}
div#footer {
    height:50px;
    width:1520px;
    margin:0 auto;
}

/* Styling rules to make this demo page look nice. */
body,
html{
    font-family:"Trebuchet MS", Georgia, Verdana, serif;
    color:#335500;
    background:#e9e9e2;
}
div#header,
div#footer {
    background:#de7008;
    color:#eee;
}
div #footer p {
    margin:0;
    padding:0;
    text-align:center;
}
div#footer a {
    color:#fff;
}

p {
    margin-bottom:0;
    font-size:0.8em;
    line-height:1.4em;
}
pre {
    font-size:0.9em;
    line-height:1.4em;
}

</style>
</head>

<body>
<div id="middlewrap">

gfhgfhgfh

 <br /><br /><br /><br /><br /><br /><br /><br /><br />
                    <br /><br /><br /><br /><br /><br /><br /><br /><br />
 gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf <br /><br /><br /><br /><br /><br /><br /><br /><br />
  <br /><br /><br /><br /><br /><br /><br /><br /><br />
   <br /><br /><br /><br /><br /><br /><br /><br /><br />
    <br /><br /><br /><br /><br /><br /><br /><br /><br />
     <br /><br /><br /><br /><br /><br /><br /><br /><br />

</div>      
<div id="footerwrap">
    <div id="footer"></div>
</div>
</body>
</html>
  • 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-16T14:46:19+00:00Added an answer on May 16, 2026 at 2:46 pm

    Here you go.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <!-- make it play nice in IE -->
    <head>
        <title></title>
        <meta http-equiv="Content-Language" content="en" />
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <style type="text/css" media="screen,print">
    body,
    html{
        margin:0;
        position: relative;
        padding:0;
    }
    div#middlewrap {
        margin-left:16px;
        padding-bottom:50px;
    }
    
    /* no positioning for IE5/Win - the whole page scrolls */
    div#footerwrap {
        width:100%;
        position:absolute;
        bottom:0px;
        left:0px;
        height:50px;
    }
    body>div#footerwrap {
        position:fixed;
        bottom: 0px;
    }
    div#footer {
        height:50px;
        width:1520px;
        margin:0 auto;
    }
    
    /* Styling rules to make this demo page look nice. */
    body,
    html{
        font-family:"Trebuchet MS", Georgia, Verdana, serif;
        color:#335500;
        background:#e9e9e2;
    }
    div#header,
    div#footer {
        background:#de7008;
        color:#eee;
    }
    div #footer p {
        margin:0;
        padding:0;
        text-align:center;
    }
    div#footer a {
        color:#fff;
    }
    
    p {
        margin-bottom:0;
        font-size:0.8em;
        line-height:1.4em;
    }
    pre {
        font-size:0.9em;
        line-height:1.4em;
    }
    
    </style>
    </head>
    
    <body>
    <div id="middlewrap">
    
    gfhgfhgfh
    
     <br /><br /><br /><br /><br /><br /><br /><br /><br />
                        <br /><br /><br /><br /><br /><br /><br /><br /><br />
     gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf gfdgfdgdf <br /><br /><br /><br /><br /><br /><br /><br /><br />
      <br /><br /><br /><br /><br /><br /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br />
        <br /><br /><br /><br /><br /><br /><br /><br /><br />
         <br /><br /><br /><br /><br /><br /><br /><br /><br />
    
    </div>      
    <div id="footerwrap">
        <div id="footer"></div>
    </div>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a html page like this <html xmlns=http://www.w3.org/1999/xhtml> <head> <script src=JScript2.js type=text/javascript></script> <script
I have this test page: http://www.problemio.com/index_new.php and I am trying to make some jQuery
I'm trying to create a animation by scrolling the page, something like this: $(function()
i am trying to make my page looks like this : Here is an
I'm developing a JavaScript API service. Main html page looks like this: <html> <head>
I have a php page like this : <html> <body> <form method=post action=catch_combo.php> <select
I'm trying to lay out a web page like this: |-----------------------| | header (fixed)
I am trying to append a CSS file to the current HTML page like
I'm trying to page scrape some DOM that looks like this: <span>text</span> and sometimes
I'm trying to display an image returned by an aspx page like this <asp:Image

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.