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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:45:25+00:00 2026-05-11T14:45:25+00:00

Hi guys I’m trying to add a css footer but can’t it to work

  • 0

Hi guys I’m trying to add a css footer but can’t it to work right. For now I’m tweaking it like crazy and if it appears fine in firefox it gets all messed up in Internet Explorer 7 ahd sometimes is halfway up teh page :(. Is there any good example out there for a css based footer.

Consider that my page has a fixed width, 2 columns of varying height and my footer has a 100 percent width.


Well I’m using the css sticky footer as is – it seems to work fine in firefox but with IE my footer is floating halfway up the page. I have noticed that my footer hangs on the bottom of the browser viewport height. I think its how IE is interpreting the height to be 100 percent of so. The css sticky footer works fine on its own but as I put my modifications and additions it gets messed up in IE. The basic code for the footer and header is as so:

@charset 'utf-8'; /* CSS Document */  html, body, #wrap {height: 100%;} body > #wrap > #main > #pageContent {height: auto !important; min-height: 100%;}  #main {     background-color:#FFFFFF;     width:960px;     height:100% !important;     text-align:left;     position:relative; }  #footer {     display:block;     width:100%;     text-align:center;     position: relative;     height: 150px;     clear:both;  } /* CLEAR FIX*/ .clearfix:after  {     content: '.';     display: block;     height: 0;     clear: both;     visibility: hidden; } .clearfix  {     display: inline-block; } /* Hides from IE-mac \*/ * html .clearfix {     height: 1%; } .clearfix  {        display: block; } /* End hide from IE-mac */ 

And the HTML is somewhat like this

<div id='wrap'>  <div> header is here</div>  <div id='main' class='clearfix'>content is here </div> </div> <div id='footer'></div> 

Where am I messing it up

  • 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. 2026-05-11T14:45:26+00:00Added an answer on May 11, 2026 at 2:45 pm

    I got it sorted – for some reason there were two instances of clear:both although I don’t see how that was causing a problem but removing the redundant entry fixed it :\ one of those weird solutions which don’t seem to make any sense. Thanks anyway guys.

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

Sidebar

Related Questions

Guys, I am trying to find a nice panel like control for ASP.NET. I'd
Guys I am trying to pass some data to my typeahead form, but for
Guys Below is my Script but It is not working can anyone tell why???
Guys i want to create an element/div which is something like drop-down menu, but
guys, I would like to you evaluate next code below. As you see, I
Guys, I've came across this problem I can't resolve myselg, I'm pretty sure I
Guys, what is function called after my class loaded, where i can call self
Guys I am getting response from webservice api as xml based response now the
Guys I'm looking for a simple Excel macro that can copy a row from
guys. I'm trying to call some AJAX Post trhu AngularJS, and I want to

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.