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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:58:30+00:00 2026-05-22T18:58:30+00:00

I’m trying to get a homebrewed scrolling table jQuery plugin to work in IE9.

  • 0

I’m trying to get a homebrewed scrolling table jQuery plugin to work in IE9. It works in all other browsers (FF 3.6+, Safari 5, IE 8). I’m using jQuery 1.6.1.

I’m doing something like this:

var topcontainer = $('<div class=\"topcontainer\"></div>')
                      .css({
                             "background-color":bgcolor,
                             "z-index":basez+1,
                             "position":"absolute", 
                             "top":parent.offset().top,    
                             "left":parent.offset().left,
                             "overflow":"hidden",
                             "height":headerheight,
                             "width":width
                      })
                      .appendTo(container);

var top = this.clone().css({"position":"absolute"});
top.appendTo(topcontainer);

The width of this – which is the original table element – is 914px. After cloning this, top is also 914px. Right after I append top to topcontainer, the width of top changes to 1118px. This wouldn’t be so bad if I could do something like:

top.width(914);
  or
top.css("width", "914px");

but that doesn’t seem to have any effect. I’ve tried stripping out all the extra css I’m applying to topcontainer. That doesn’t seem to help either. I noticed that this had a width attribute of 100% and I removed that… no dice.

I’ve been working on this for a couple days. Any help would be appreciated.

  • 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-22T18:58:31+00:00Added an answer on May 22, 2026 at 6:58 pm

    I boiled my code down to:

    jQuery(document).ready(function() {
        var tableClone = document.getElementById("table1").cloneNode(true);     
        document.body.appendChild(tableClone);
    });
    

    So all I have is the table data, a jquery include and a doctype to make sure I was in standards mode. This javascript was also causing the cloned table to be resized. I verified that all my mark up was closed correctly.

    What finally worked was removing all the white space between the opening <tr> and the first <th> tags in each row (yes, I do mean <th>) and also between the last </td> tag and closing </tr> tag.

    Could this be a bug in IE9? I’m starting to think yes. Anyone have any alternate theories?

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

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I have a text area in my form which accepts all possible characters from
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,

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.