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 interpret and analyze padding by IE6.0

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

Share

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

Today, I will talk to you about how to carry out IE6.0 's interpretation and analysis of padding. Many people may not know much about it. In order to make you understand better, the editor summed up the following contents for you. I hope you can get something according to this article.

This article describes IE6.0 's interpretation and analysis of padding. IE6.0 is a headache. Although it is recognized as a junk browser, it is no longer used by a small number of users, because IE is bundled to customer machines when Microsoft operating systems are installed.

IE6.0 's interpretation and Analysis of padding

IE6.0 is a headache, always thinking about it when writing div+css layout pages. Although it is recognized as a junk browser, it is no longer used by a small number of users, because IE is bundled to the client machine when installing the Microsoft operating system.

IE6.0 interprets padding differently from browsers such as Firefox and IE7. Here's an example:

Test is a div object, and now sets its width 200px, height 200px, border 1px, and inner margin 10px. At this time, there will be problems in interpreting it under different browsers. This problem is mainly caused by the bug of IE6.0. The actual length of div interpreted under FF is that the height of 200px is 200px and the inner margin is 10px. The data under IE6 is: width 220px height 200px, so it can be seen that the misinterpretation of padding only affects the width, and there is no change in height.

From the above differences, we can see that IE6.0 's interpretation of padding is not counted as part of the defined width, while FF and IE7 or IE8 are seen as part of width.

After reading the above, do you have any further understanding of how to carry out IE6.0 's interpretation and analysis of padding? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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