Home  >  Article  >  Web Front-end  >  Discussion: The difference between browser mode and document mode in IE browser_html/css_WEB-ITnose

Discussion: The difference between browser mode and document mode in IE browser_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:49:221482browse

When testing the program recently, there is always something wrong with versions below IE9;

IE browser has added browser mode and document mode since IE8;

They have What is the difference? If you want to test lower versions such as IE7, how should you set the browser mode and document mode?

There is also the compatibility mode of IE9, is there any difference from IE7?

Also IETest;

I read some online, but the explanation is a bit vague;


Reply to the discussion (solution)

1. You only need to know ≥IE8 to have the concept of these two modes
2. If there is a problem, write a CSS hack
3. IEtester is more troublesome, it is not an open source tool, and most people don’t know how it is implemented.
In addition, it is basically reliable to display it on the page, just like AJAX. Therefore, a virtual machine is necessary.

You need to use a virtual machine again

I need to use a virtual machine again
Of course, if you have a certain say in the unit, you can explain this to your superiors/boss.
Although it is currently used in China There are also a lot of IE 6/7 users, but this is like knitting a sweater for a 5.6-year-old child. It takes several months to complete a job, and the child will grow up quickly.
And high-version browsing supports more W3C has developed standardized features

Many times we cannot have as many manpower and financial resources as first-tier companies such as BAT to knit several sets of sweaters for children at the same time.
So we must consider it based on the actual situation of the project.

Finally, here is a post for you, the browser version statistics of users visiting an e-commerce company in the past month, I hope it can help you.






I have to use a virtual machine again
Of course, if you have a certain say in the unit, you can explain it to your superiors/boss This point.
Although there are now a lot of users using IE 6/7 in China, it is like knitting a sweater for a 5.6-year-old child. It takes several months to complete a job, and the child will grow up quickly.
And high version browsing supports more features that have been standardized by W3C

Many times we cannot have as much manpower and financial resources as first-line companies such as BAT to knit several sets of sweaters for children at the same time.
So we have to Consider it based on the actual situation of the project.

Finally, I will post a picture for you, the browser version statistics of users visiting an e-commerce company in the past month, I hope it can help you.






Looking around, there are still a lot of people using IE7 and 6;
I asked my boss just now and they said that there are still many domestic users using IE6 and 7. There are many. Compatibility is an issue and cannot be avoided;
Also, I just got an internship and have no say;

I guess it will be compatible with IE7;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn