Home  >  Article  >  Web Front-end  >  Please tell me about the incorrect display of CSS styles in IE8 compatible view_html/css_WEB-ITnose

Please tell me about the incorrect display of CSS styles in IE8 compatible view_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:26:071511browse

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


Reply to discussion (solution)

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. . .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn