In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to use the IE8 compatibility view to represent the page, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
To represent a page using the IE8 compatibility view
The 2008 project proposes that the page of the corresponding IE8 is different in the default view and compatibility view of IE8, and the style and layout can not be represented normally in the default view, and the same effect can be obtained through the compatibility view of IE8 and browsing on IE6/7. How to make IE8 represent pages in compatibility view by default? That's our problem today.
The reason is that the HTML standards followed by IE8 and IE6/7 have changed, and the original definition of the document is the same, but there are different representations because of the change in the way it is interpreted. IE8 provides a compatibility view to be compatible with the presentation and interpretation of previous versions. We can define the default use of the IE8 compatibility view to represent pages on a page or website (Web application) in the following ways.
1. Specify on the page (all pages are supported)
two。 Configure in the ASP.NETWeb application / site configuration file (ASP.NETWeb application / site)
3. Host software configuration (Apache/IIS)
Its essence is to append 1 meta tags in all web pages through the Apache/IIS manager.
4. Page rendering (suitable for server-side languages)
The meta tag in 1 can be appended to all web pages by code on the server side, such as C#/VB.NET/Java.
Finally, by appending the meta tag of the IE8 compatibility view, IE8 can represent the web page according to the compatibility view defined by the meta tag when interpreting the web page. The 2008 project, which did not have IE8 at that time, can now display pages normally under IE8. Believe that your application and website should also be OK.
The above content is how to use the IE8 compatibility view to represent the page, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.