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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:59:58+00:00 2026-05-24T15:59:58+00:00

A rather specific question I realize, but I can’t pinpoint this bug to either

  • 0

A rather specific question I realize, but I can’t pinpoint this bug to either headjs or jquery, otherwise I would have asked there.

When aysnc loading jquery using headjs, I noticed that when testing in IE8 the background-color set on BODY is ignored. This only happens in IE8 standards-mode and only AFTER jquery is loaded. (on initial page load the background-color is represented correctly) .

I really have no idea what’s going on, but it’s driving me nuts.

I simplified the problem down to the code below. Testing suggests this only happens in:

  • IE8 standards mode, not quirks mode (i.e: removing resolves this problem)

  • combination with jquery 1.6.1, it functions correctly with jquery 1.5.1

  • combination with headjs. When just including jquery using , it’s no problem

just open in IE8 and see for yourself. Background should be red but goes to white after jquery is loaded. Any ideas?

<!doctype html>
<html>
<head>
<script src="https://raw.github.com/headjs/headjs/v0.96/dist/head.js"></script>
<style> 
    body{
        background:#f00;
    }
</style>
<script>
    head.js("//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"); 
</script>
</head>
<body>
    test
</body>
</html>
  • 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-24T15:59:59+00:00Added an answer on May 24, 2026 at 3:59 pm

    As stated in the comment:

    “ok this seems to be a jquery bug: see: stackoverflow.com/questions/6149820/weird-ie8-layout-glitch and bugs.jquery.com/ticket/9440. It’s fixed in the upcoming 1.6.2”

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

Sidebar

Related Questions

This question was asked already here , but rather than answering the specific question,
This is a design question rather than a Java-specific question, but I'm designing it
This is more of a theoretical question rather than language specific, but I'm mostly
I realize this question is rather specific... I'm trying to get my head clearly
This isn’t a specific question with a specific solution; but it’s rather a response
This is a question about Application design rather than how-to-do specific actions. I am
This is more of a general question rather than a specific problem. I'm coding
This is a rather broad question, but I'm a beginner-intermediate programmer that has just
This is a high level/design type question rather than anything specific. In this game
Rather a simple question. But the implications are vast. Over the last few weeks

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.