css float not behaving in IE7 [closed]
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.
精彩评论