JSP page under IE8 text mode automatically "miscellaneous (Quirks)" causes page display dislocation

Source: Internet
Author: User

Most recently, when modifying a Web site's responsive page, because it is a set of style pages, the modification process is paste copy, resulting in some detail problems exposed under IE8:

Encountered the problem is in Chrome, Firefox page is normal, except in the IE8 page style display disorderly, but the local display normal, Tomcat cache also clear, plus oneself is also a small white, weekend calm a day and a half finally found the source of the problem, in fact, the solution is very simple,

I was originally writing a little script in <! DOCTYPE html> documents are above, but in IE8 browse text mode by default programming the "Quirks" mode, display is not normal, and later changed to write in the document under the head can be displayed normally, after the lessons learned, but also hope to encounter such problems of students a reference inspiration!

JSP page under IE8 text mode automatically "miscellaneous (Quirks)" causes page display dislocation

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.