The code above. Simple ul, li. Now put a div in the first li, then float it, and there will be a gap between the li's. . . why is that.
In the case of ie8 compatibility mode and ie7, there is an extra gap between li. In this way, li exceeds ul
In the case of ie6, there is an extra gap in the middle of li, but the height of li also becomes smaller at the same time, and then the total li is still inside ul
Reply to discussion (solution)
IE6 bug
http://hi.baidu.com/849653727/blog/item/36f518889e734cc2fd1f10f5.html
The original poster has a look