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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:31:20+00:00 2026-05-13T14:31:20+00:00

I am having issues with creating a space between the bottom of the screen

  • 0

I am having issues with creating a space between the bottom of the screen and the last div.

In Chrome, no problems, but with IE the border is right at the bottom of the screen.

<div id="container">
 <div id="header">...</div>
 <div id="main">...</div>
 <div id="footer">...</div>
</div>

The last div only has <br />‘s

Here is the css…

html,
body {
   margin:0;
   padding:0;
   height:100%;
}
#container {
   top:30px;
   left:15px;
   width:60%;   
   border:black solid 1px;
   min-height:100%;
   position:relative;
}
#header {    
   padding:0px;
}
#body {
   background-color:FAF0E6;
   padding:10px;
   padding-bottom:25px;   /* Height of the footer */
}
#footer {
   position:absolute;
   bottom:10px;
   width:100%;
   height:25px;   /* Height of the footer */
}

Like I said, works great in Chrome, but not so much in IE.

What I would like is a space at the top and the bottom of the screen.

Edit- As an added note, I don’t even see the bottom border in IE.

Thanks for the help,

-Kris

  • 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-13T14:31:20+00:00Added an answer on May 13, 2026 at 2:31 pm

    You can replace min-height:100% by height:100% in #container. Works in IE8.

    EDIT: Is this what you are looking for?

    html {
       margin:0;
       padding:0;
    }
    body {
       background-color:FAF0E6;
       margin-top:35px;
       margin-bottom:10px;
    }
    #container {
       left:15px;
       width:60%;   
       height:100%;
       position:relative;
    }
    #header {    
       padding:0px;
    }
    
    #footer {
       position:absolute;
       bottom:10px;
       width:100%;
       height:25px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The code is below but I am having some issues with creating a relative
I've been having several issues with creating a service in Symfony 2.0, but have
I am having issues creating a simple 2D scene with Three.js. I would like
I am having some issues creating a setup file for my Outlook 2007 add-in.
I'm having some difficulty creating nested objects between a one-to-many relationship. My models are
I am creating a virtual soda vending machine, and I am having issues with
I'm having issues creating a simple join table (associative table, etc. whatever your flavor
I am having issues creating, and understanding how to create a core data model
I am having issues creating a composite key made out of foreign keys in
I'm having issues with creating an AIR file from an Adobe AIR HTML/JavaScript project.

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.