Perfect solution JSP page in IE8 text mode automatically for (Miscellaneous quirks) causes page display dislocation _jsp programming

Source: Internet
Author: User

The most recent changes in the site's response to the page, because it is a set of style pages, the process of modification are pasted copy, resulting in some details of the problem exposed under the IE8:

The problem is that in Chrome, Firefox page is normal, but in the IE8 page style shows a mess, but the local show normal, Tomcat cache is also clear, plus their own is a small white, weekend calm a day and a half finally find the source of the problem, in fact, the solution is also very simple, as shown:

I originally wrote the Little script in <!. DOCTYPE html> documents are above, but in IE8 browsing text mode by default programming the "Quirks" mode, the display is not normal, and then changed to write in the document under the head can be normal display, after this lesson learned, also hope to encounter such problems students a reference inspiration!

The above perfect solution JSP page in IE8 text mode automatically for (miscellaneous quirks) led to page display dislocation is small series to share all the content, hope to give you a reference, also hope that we support cloud habitat community.

Related Article

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.