Home >Web Front-end >HTML Tutorial >Please tell me about the incorrect display of CSS styles in IE8 compatible view_html/css_WEB-ITnose
This is the normal state:
Just switch the IE compatible view and this style will be displayed
I'm not talented, I didn't find out what went wrong! Thank you all experts for helping me! I really have no choice but to present these! Kudos to you all!
The website is: http://www.fphs5.com/qitajinshu_510.html
The height of the first li is high , so the subsequent float elements are stuck.
You can directly set style="line-height:29px;" in the first li to see the effect.
Anyway, that’s the reason.
As for how to solve it, I haven’t found the cause of the problem. . . .
.parameters li span
This is affected by the font size. Changing
to 12px can solve this problem.
As for why this font has an impact, it is probably because the browser’s interpretation of line-height is different in mixed mode.
It’s hard to say what the conclusive influencing factors are. . .