Article Introduction: CSS Web design tips: IE browser under the default height of Li's problem. |
Yesterday, at home to open IE7 browser to see "Video navigation network", found that there are typographical errors.
Looking at it with the F12 developer tool, found that the default height of Li is not uniform?
With the tool looked, found that the Firefox high resolution unified 33px, and IE7 resolution height according to the different words, the default resolution of the height of 30px, the resolution of the pure number of 31px; the analytic height of the Chinese and English combination is 32px;
Solution One: give Li set height, IE7 normal, but IE6 problem still exists. Originally, Li inside also nested a label, to a also set a height after the problem solved. :)
workaround two: set font to Arial (font-family:simsun;)[recommend this workaround]