When you develop web pages according to standards, you will find many differences between different versions of IE! These differences are sometimes not very obvious. Basically, IE5.6 is closer to IE6. What is noteworthy about IE5.0 is that the Chinese characters are one size larger than those of IE6 and IE5.5. In other words, text that can be displayed normally in 12PX appears to be 13PX in IE5.0. The normal text displayed under IE5.0 is 11px.
1. Filter IE5.5
The following is a quotation fragment:
@media tty { i{content:"";/*" " */}}@m ; @import 'ie55win.css'; /*";}}/* */
Pay attention to 'ie55win.css' in the code.
2. Filter IE5.0.
The following is a reference fragment:
@media tty { i{content:"";/*" "*/}}; @import 'ie50win.css'; {;}/*";}}/* */
Pay attention to the 'ie50win.css' in the code.
3. Filter IE5 under MAC.
The following is a reference fragment:
/**//*/@import "ie5mac.css";/**/
Pay attention to "ie5mac.css" in the code.
Also: There are many places on the Internet that talk about the calculation difference of the box model and say it is a BUG of IE5.0. The fact is that the calculation methods of IE browser are wrong! I hope everyone will pay attention!
1 . Regarding the issue of box model width + inner patch + border: IE6 and IE5.X are different, and the algorithm of IE6.0 is the same as FF.
2. If the box model is floating, and the direction of the outer patch is consistent with the floating direction In all cases, the calculation method of IE browser is wrong.
The way to solve the problem of IE5 font being 1 pixel larger is to set the preferred font to Simsun, that is, Song Dynasty.