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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:35:24+00:00 2026-05-29T23:35:24+00:00

I have an issue in internet explorer 8 and above. I create dynamic content

  • 0

I have an issue in internet explorer 8 and above. I create dynamic content from sitecore, but once I add over a certain number of items on the page of that one item type my css from a certain section of the page decides not to style its content bizarre.

I know there is quite a lot below but this set of code gets created multiple times when I create an item in sitecore:

Front End HTML:

<div class="<%=uniqueID %>">
    <div class="compareRatesSlideSpot">

         <div class="headerContent">
                <div class="tableContainer">
                    <div class="exchangeProvider"><%=exchangeProvider %></div>
                    <div class="exchangeRate"><%=exchangeRate %></div>
                    <div class="transferCharges"><%=transferCharges %></div>
                    <div class="amountYouGet"><%=amountYouGet %></div>
                </div>
                <div class="Toggle">
                    <span> 
                        Learn more <img src="/images/arrow_open.png" /> 
                    </span>
                </div>
          </div>



          <div class="Content">

            <%=content %>

          </div>



    </div>
    <div class="Shadow"></div>
</div>

The Javascript:

<script type="text/javascript">

    $(document).ready(function() { 
        $(".<%=uniqueID %> .headerContent").css("color", "<%=fontColor %>");
        $(".<%=uniqueID %> .tableContainer").css("background-color", "<%=bgColor %>");
        $(".<%=uniqueID %> .Toggle").css("color", "#000000");
    }); 

    var <%=uniqueID %>isToggled = 0;

    $(".<%=uniqueID %> .Toggle").hover(
      function () {
          $(this).css("color", "<%=secondaryColor %>");
      },
      function () {
          $(this).css("color", "#000000");
      }
    );

  $(".<%=uniqueID %> .Toggle").click(function () {

      $(".<%=uniqueID %> .Content").slideToggle("slow");
    if (<%=uniqueID %>isToggled == 0) {
        <%=uniqueID %>isToggled = 1;
        $(".<%=uniqueID %> .Toggle span").html('Minimise <img src="/images/arrow_close.png" />');
    } else if (<%=uniqueID %>isToggled == 1) {
        <%=uniqueID %>isToggled = 0;
        $(".<%=uniqueID %> .Toggle span").html('Learn more <img src="/images/arrow_open.png" />');
    };

});
</script>

I need a second pair of eyes to help find whats going wrong, I have been staring at it for hours and still no success.

Solution:

Sigh it turned out we had the css link for the user control within the user control, which is loaded into different master pages. I put the relevant css link into the head of each master page, works fine now. Thanks to the answer below I was able to debug it down to this problem.

  • 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-29T23:35:25+00:00Added an answer on May 29, 2026 at 11:35 pm

    The way the question goes one can only guess.

    As you say that everything is OK until you add some extra HTML elements I would say that you probably should validate your HTML. Pass it through the W3C validation service and try to understand what’s going wrong.

    I’ve experience similar behaviour by leaving an element open.

    <div>
        ....
    <div> <!-- forgot to close the div and actually oppened a new one -->
          <!-- can mess with the whole layout -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue and I have looked long and hard over the Internet
I have an issue where Internet Explorer is generating an additional br element that
This issue occurs in our beloved Internet Explorer 7: I have a list of
I'm having an issue with a page in internet explorer. I have an ajax
I have an issue with internet explorer dealing with JQuery or JQuery dealing with
I'm having a serious issue with Internet Explorer caching results from a JQuery Ajax
I'm seeing this issue in Internet Explorer 8, but not in Safari or Firefox.
Using Internet Explorer (don't appear to have an issue in FireFox) the following code
I have an issue with list-style-image property in CSS with Internet Explorer 8 If
We have an issue using the PEAR libraries on Windows from PHP . Pear

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.