0

I have this code here. If you open it a browser other than IE, then you would be able to see that the 3rd and 5th li of the ul.submenu have also an img inside. In IE unfortunately it's not displayed on the 3rd li, and it's going underneath like in a different line as if it lacks floats. Normally, the img should just expand the li as in the rest browsers.

I have tried changing the display property of both li and img, as well as various margin and padding combinations of the img but with no luck.

Anyone knows why this happens and what should I do to reach the proper result? Any help will be very much appreciated! :)

4

1 回答 1

1

样式列表的第一条规则display:blockA-tag 上使用并将所有样式放在那里(除了用于定位/隐藏/显示列表的东西)。

看我的教程:我喜欢列表

于 2013-02-21T21:51:11.103 回答