问题
I have a website maintenance issue in IE8 only. The site runs fine in all other browsers including IE9 and IE10.
I can describe the issue best as follows:
In IE8 when the page is loaded, all the elements are displayed properly and everything looks great. However, when I activate a JQuery accordion, the entire page messes up. Here is what happens:
1)the page jumps upwards to a seemingly random location (this might be because the page is being resized according to the the size of the elements inside of the accordion. 2)the entire footer disappears, until I use the scrollbar down arrow, then it appears again. 3)all of the nav elements disappear until i hover over them, then they appear again.
If I open up the Developer Tools and change the document mode to Quirks, the page functions fine. And if AFTER that I change the document mode to Standards again, the page will function fine.. this problem is really weird and any input would be great.
Thanks for your time!
来源:https://stackoverflow.com/questions/17864718/ie8-jquery-disappearing-elements-issue-only-working-in-quirks-mode