Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the changes of IE7

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

What this article shares with you is about how to understand the changes in IE7. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

Seven deadly sins of IE7

1. The definition of the width of IE7 and IE6 Div+css is different.

There is a different interpretation of width in the definition of width. IE7 width is wider on IE6, which is the reason why web pages may have overflow problems. Fortunately, this problem can be solved by changing the value or modifying the percentage.

2.IE7.0 fixed! important this bug.

Previously, due to the existence of bug in IE6.0! important recognition, there is a difference in 2px due to the inconsistent interpretation of the BOX model in firefox and IE. Most web standard designers use this bug to be compatible with IE6.0 and firefox, that is, using: div {margin 30px importante 2px 28px;}. But IE7.0 fixed this bug, so the question arises again, how can it be compatible with IE.7.0 and IE6.0 and firefox at the same time?

Changes in 3.BoxModel

In IE7, the overflow behavior is modified to accommodate CSS2.1boxmodel.

Some CSSfilter in 4.IE7.0 will no longer be available

Many potential parsing errors have been fixed in IE7, which may prevent filter from working properly in previous versions of IE. Such as: * HTMLfilter, underscore filter and / * * / comment filter and so on.

5.IE7.0 no longer supports a lot of non-standard css, and requires stricter specification for js syntax.

Many js pages that are normally displayed under IE6 cannot be displayed properly under IE7, and there are no errors. IE7.0 requires stricter rules for js syntax, but this specification does not seem to explain, nor does it clearly tell you how they "regulate" and how they "model".

6.。 Browsers are incompatible

This problem has always been a headache for web designers. With the advent of IE7.0, no matter whether it is better than IE6.0 or not, the incompatibility between IE7 and IE6 has undoubtedly introduced a new sore spot, at least in the process of debugging, there is another program and a large number of incompatibilities that follow.

7. At present, the use of IE7.0 is still a small number of users, the use of IE6.0 users still account for a large proportion.

However, a large number of web pages that have passed the IE6 test do not show up properly in IE7.0. According to the official explanation of IE7.0:

IE7.0 introduces the strict schema on top of IE6, including many improvements on cascading style sheets (CSS) parsing and rendering. These improvements are intended to improve the consistency of InternetExplorer's interpretation of cascading stylesheets to meet the standards recommended by the W3C and to provide developers with a collection of features that they can rely on.

The above is how to understand the changes in IE7. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report