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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:11:22+00:00 2026-05-13T12:11:22+00:00

I am having some problems getting this layout to work properly in IE (both

  • 0

I am having some problems getting this layout to work properly in IE (both 6 and 7). It, of course, works fine in Safari and Firefox.

What’s going on here:

  • I have a footer which is fixed to the bottom of the viewport, or under content – whichever is longer.
  • I have a header above the content which contains a number of centered and floated block items, which is wider then the content area.
  • I have a centered fixed width content area

The problems

  • (Main problem) In IE7 a horizontal scroll bar appears because of the floated header.
  • In IE6 the footer does not snap below content area.

Any insight would be great. Thanks.

  • 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-13T12:11:22+00:00Added an answer on May 13, 2026 at 12:11 pm

    I see you’re positioning the footer by making layout extend the full height and then giving it a negative bottom margin to shift the footer up . . . perhaps getting rid of the negative margin and using relative positioning on the footer to shift it up would be more cross-browser compatible.

    I haven’t actually tried this out with your page, it’s just a thought.

    UPDATE:
    Turns out position: relative isn’t all that great . . . it makes the scrollbar extend to where the footer would have been without the repositioning.

    But try applying #footer{position: absolute; bottom: 0px; width: 100%} and get rid of the negative bottom margin of layout . . . this works for me at least in Firefox, I haven’t yet checked IE.

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

Sidebar

Ask A Question

Stats

  • Questions 314k
  • Answers 314k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The global ResourceBundle Object can not be final but instead… May 13, 2026 at 11:02 pm
  • Editorial Team
    Editorial Team added an answer Well, standart approach is to write a widget. In your… May 13, 2026 at 11:02 pm
  • Editorial Team
    Editorial Team added an answer If it is a permission problem, you should be able… May 13, 2026 at 11:02 pm

Related Questions

I am having some problems getting a small piece of text to be centered
I know this has some crossover to Serverfault.com but the advice on meta.stackoverflow was
I am using WindowsFormsIntegration in a WPF project to add a DataGridView and I
I am working with a wrapper class for CFHTTPMessage , which contains a CFHTTPMessageRef
I am having a few problems with Dojo Filtering Selects when using the Zend

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.