开发者

css float not behaving in IE7 [closed]

开发者 https://www.devze.com 2023-04-06 19:40 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

Hi I know IE7 css float issues have been asked here a few times but I still can't resolve my issue.

Please have a look at this page. I'm using开发者_JAVA百科 IE9 in IE7 mode and have changed the widths of the divs and the items inside them, checked the clear:lefts and the heights but the main div won't float to the left of the nav.

Can anyone spot the cause?


Taking out the #main { clear: left; } and removing the .narrow#main { margin-top: -40px; } did it for me.

At least, it seems to work in IE9's IE7 mode.

0

精彩评论

暂无评论...
验证码 换一张
取 消