The jsp page is automatically displayed as "Miscellaneous (Quirks)" In IE8 text mode.

Source: Internet
Author: User
The jsp page is automatically set to "Miscellaneous (Quirks)" In IE8 text mode, which leads to page display dislocation. Recently, when modifying the responsive page of the website, it is a set of style pages, the modification process is pasted and copied, causing some details to be exposed in IE8:

The problem is that the Chrome and Firefox pages are normal, but the page style is messy under IE8, but the local display is normal, and the Tomcat cache is clear, in addition, I am a little white. After a day and a half of the weekend, I finally found the source of the problem. In fact, the solution is also very simple,

I initially wrote a small script above all the documents, but in IE8's browser text mode, the "Quirks" mode is programmed by default, and the display is abnormal, later I changed it to the lower part of the document header to display it normally. After learning this lesson, I also hope to provide some inspiration for those who encounter such problems!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.