How to solve the problem of html coding under ie6 leading to js error css is not applied
This article mainly explains "how to solve the problem of html coding under ie6 which leads to js error css is not used", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "how to solve the html coding problem under ie6 caused by js error css is not used"!
It was found in the test. When the page definition is encoded with utf- 8,
If you put multi-byte text such as Chinese in a js file, and save the encoding using the system default, such as gbk, non-utf- 8, there will be an inexplicable error prompt in ie, js, such as an unfinished comment
In css, it will cause the css file to be quite unloaded.
A strange hint will also appear if the inclusion of (php?apache) in html causes html content to have mixed-coded utf-8+gbk-encoded content.
At this point, I believe that everyone has a deeper understanding of "how to solve the problem of html coding in ie6, which leads to js errors and css is not used". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!