When I changed the page CSS yesterday, I found that some text was embedded in <span> <font> text content </font> </span>, I have defined the font-size 11px for the span style. In IE7, there is no problem. In IE8, the font is not controlled by CSS, no matter how I change the font-size, the size remains unchanged. However, when the IE font size (View-> text size) is changed, the size of the text will change accordingly.
Later, I asked my colleagues to understand the reason that I didn't define a style for the <font> label. Originally in IE7 and earlier versions, it will automatically inherit the style settings of the higher level, however, in IE8, the text will use the <font> style, and I have not set the style for font. In this case, ie will take over the style of the text, as a result, the font of IE is changed.
I have never worked on the UI before. It's a headache !!!