The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript CSS+HTML collapse&expand in IE and Chrome

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #174432
    <!DOCTYPE html>
    <html lang='en'>
      <meta name=keywords content="VTPSim, Pattern Validation">
      <meta name=description
      content="VTPSim is POR Test Pattern Validation tool used by chipset, server chipset, netcomm products.">
          VTPSim V3 Module
      <!--[if lt IE 9]>
        <script src=""></script>
    <script src=""></script>
    <script type="text/javascript">
    <UL id="example_tree">
    <LI><span><h2 class="pointer" style="color:blue;font-size:14px"><u>vrsMerge</u></h2></span>
                <LI><span><a href="">vrsMerge</a></span></LI>
                <!-- <LI><span><a href="">Add new vrsMerge doc here</a></span></LI> -->
                <p><strong>vrsMerge Release Note:</strong></p>
                  <li><a href="">v1.0e29 Engineering Release</a></li>

    I use the above code,however I see some issue when I view with IE browser.

    The IE browser view did not show content under “vrsMerge Release Note” as compared with Chrome.I hope you can help me on fixing this. Thanks a lot. :)



    I think i am using IE9 below.Not IE11.


    I tried creating a CodePen to reproduce the problem: See . Running IE9 under IETester in Parallels, I still get good visuals. All I can suggest is using IE’s debug menu (F12). Select the missing item in the HTML portion of the window, check its styling, and see what is going on.

    Good luck!


    I also note some “unusual” HTML elements…<u> for instance.

    It’s been removed the the HTML5 spec and should no longer be used.

    Also…<span> elements should not contain block-level elements likeh2.

    And…the HTML structure is wrong…

    You cannot have a p inside a ul as a direct child, only li are allowed…did you close that li too soon?

    Quick, tidied version of the previous Codepen(with updated JQ).

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.