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

The Archive Base Latest Questions

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

After testing a small site that I built for my school in Firefox, SeaMonkey,

  • 0

After testing a small site that I built for my school in Firefox, SeaMonkey, Chrome, Opera, Safari, Camino and IE8 I found that my site’s absolutely positioned divs were all pretty consistant.

However, when I began testing the site in IE6 and 7 all of the divs are out of place and messy across the page.

I have spent two weeks of Googling and trying to figure out what the problem is, however I still cannot find a consistent way to fix this problem.

Hopefully I have been clear enough, sorry if my English is not very good, it is my third language.

If you need any more clarification please feel free to ask.

Any and all help is appreciated.

Thank you for your time.

Note: As said above, I am aware that there are numerous solutions and similar questions, however, I have not been able to find one that works in this situation.

UPDATE: Zoom property fixed most of the issues I have been having, hasLayout seems to be a mighty pain. Thanks Spudly and Patrik

  • 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-19T17:46:45+00:00Added an answer on May 19, 2026 at 5:46 pm

    This sounds like the classic “HasLayout” bug, which is one of the banes in the life of every web developer that has to support older versions of IE.

    HasLayout is an internal flag that IE hold against each element which determines whether to display it normally or with bizarre glitches. Actually that’s not what it’s really there for, but it does seem to have that effect.

    The way to solve the problem is to force the elements in question to gain the HasLayout flag. Sadly, IE doesn’t provide a direct way to do this; you have to apply a style which triggers it.

    Typically, the style people choose to apply for this is

    .myelelement {
        zoom:1;
    }
    

    The reasons for this are firstly that zoom is an IE-specific stylesheet attribute, and so this doesn’t affect any other browsers, and secondly because zoom:1; is the default value, so you’re not actually changing anything about the element. Despite this, it still triggers the element to gain the HasLayout flag, and thus should solve your problems.

    Hope that helps.

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

Sidebar

Related Questions

After hours of debugging, it appears to me that in FireFox, the innerHTML of
I've built a script in PHP for a small shop that does a few
After watching: The Clean Code Talks -- Inheritance, Polymorphism, & Testing I checked my
After being told by at least 10 people on SO that version control was
After lots of attempts and search I have never found a satisfactory way to
I was just testing a small script in Prolog to sanity check the MySQL
So I botched an msi installer and deployed it after only testing installation, not
I'm working on a small simulation that is running on my 8-core workstation. The
as usual i come here after testing around for hours and not having any
I'm trying to build a Chrome browser extension, that should enhance the way the

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.