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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:06:08+00:00 2026-05-17T23:06:08+00:00

In noticed the <!> element in IE6 and 7 (haven’t tested 8) developer toolbar.

  • 0

In noticed the <!> element in IE6 and 7 (haven’t tested 8) developer toolbar. It appears to be an element created to hold the background image for one of my actual elements (the actual element is now a child of the <!> element according to IE)

Does anyone know what the <!> element is and why IE creates it to hold the background image (I have another virtually identical element next to the element that is now a child of the <!> element and that one does not need/gets an <!> element for the background image)

Actual Markup (simplified)

<div id='d1'>I have a background image</div>
<div id='d2'>So do I</div>

Markup as renderen by IE6 and 7

<!> <!-- now contains the background image for d1'-->
  div id='d1'>I no longer have a background image</div>
</!> <!-- or whatever the closing tag for <!> is -->
<div id='d2'>SI still have mine</div>

alt text

EDIT:
The actual site can be found here. The actual markup is quite big and complex. (The element that is the problem is the #leftBar element, note that this has it’s height determined by javascript)

This is all the CSS that descibes the element being wrapped in <!>

position:absolute;
left:0px; 
z-index:15;

width:15em; /* on update change: #contentWrapper:padding-left, #rondleiding:left */
height:100%;

overflow:visible;
background: url("http://somewhere/img.png") repeat #a99c89;

Also there are indeed javascript manipulations on the elements of the page, but these do not deal with the background image of the #leftBar element.

According to the W3C validator, the page is pretty much valid (some errors on images having rels).

Also I’ll be adding a bounty as I am now asking people to look at the actual website (which means digging into my shit).(forget a question needs to be open two days for that)

  • 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-17T23:06:08+00:00Added an answer on May 17, 2026 at 11:06 pm

    It’s being caused by a bug in the ie7/ie8.js script. I haven’t worked out how yet… not much fun to debug as that library is such a maze of twisty little features. Do you really need to include it? If there is one specific behaviour you want to fix it may be better to just address that separately. I’ve never really trusted these enormous attempt-to-fix-everything-at-once scripts.

    So instead I’ll point out that you seem to be loading jQuery twice (once from Google, once from your own site with the wrong MIME type), and you’ve got this validation problem (the rest of the doc seems OK):

    <![if gte IE 8]>
        ...
    <![endif]>
    

    It is unfortunate that MSDN is still handing out this invalid conditional comment syntax, since it’s easy to have a downlevel-revealed conditional comment that’s also valid:

    <!--[if gte IE 8]><!-->
        ...
    <!--<![endif]-->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

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.