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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:12:51+00:00 2026-06-03T17:12:51+00:00

I am trying to set up a basic layout where the header and footer

  • 0

I am trying to set up a basic layout where the header and footer carry on across the width of the page no matter what resolution the user is set to.

I have managed this but now I am having a problem where the main container div will not expand properly height wise to encompass the divs within. It seems to expand to only a certain height and then goes no further, no matter what height or min-height style you change.

Here is the basic structure:

<div id="page">
    <div id="content">
    </div>

</div>
<div id="footClear"></div>

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

The footer code is to force the footer to stick to the bottom of the page no matter the height of the main container (id=”page”)

My CSS for these parts is:

#page {
margin:0 auto;
width:1000px;
background:red;
padding:0px;
min-height:100%;
position:relative;
margin-bottom:-47px;
}

#content {

}

#footer {
width:100%;
height:22px;
position:relative;
margin:0 auto;
background:#000000;
text-align:center;
padding-top:3px;
font-size:12px;
}

#footClear {
    height:22px;
    clear:both;
}

A link to what to my site is here if you want to have a look: http://www.therapyoracle.co.uk/new

You can see the page div is in red, and does not carry on down the page.

  • 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-06-03T17:12:53+00:00Added an answer on June 3, 2026 at 5:12 pm

    On your live site, #page has height: 100% set, which is causing the problem.

    It’s coming from your ie6.css! This is how you’re trying to make it load in only IE6:

    <!—[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="assets/css/ie6.css" />
    <![endif]—>
    

    The hyphens in the HTML above are wrong. Replace that HTML with this:

    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="assets/css/ie6.css" />
    <![endif]-->
    

    And ie6.css will then only be loaded in IE6, instead of all browsers, and your problem will be fixed.

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

Sidebar

Related Questions

I am trying to set up a basic user authentication - I have the
Overlooking something basic here but I am trying to set a variable and have
I am trying to set up a basic Silverlight application to run behind the
I am trying to set up a basic node.js server and am getting an
I am trying to set up a pretty basic messaging system with ActiveMQ. I
I am trying to set up a basic Facebook application using PHP and an
So I am trying to set up a basic timer but I am failing
I'm trying to set up a pretty basic hover animation in jQuery. Mouse over
I'm learning more about PHP/Javascript, trying to set up a basic website. I've got
I'm trying to script a very basic set of keystrokes in excel where I'm

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.