views:

68

answers:

2

Hello,
here's test page, which looks differently in IE7, while OK in Firefox & Opera.
Looks like FF & Oprah are adequate about

.twoColLiqRtHdr #mainContent {
     margin: 0 20px 0 10px;
}

right margin and place text accordingly (text fills space under sidebar), while IE uses #sidebar's left border as margin, and, as a result, that space is not used.
Edit: here's what it's all about described in nice picture: link.
Please, help me fix it.

+1  A: 

Have you tried adjusting the #sidebar1's margin to 0, especially at bottom? Or floating it left instead of right? See, I'm not a crack in CSS-hacking for IE but probably this will enable you to see were the error is coming from. Probably use my all-time favorite css-hack when it comes to IE7, sometimes it does wonders to me:

* html div {
 margin: 0;
 padding: 0;
}
ApoY2k
That's not how things are done here. Your answer would be useless if the site was either dead or down. At least quote some vital parts of the site you're referring, and include the linkback.
random
http://meta.stackoverflow.com/questions/19636/easily-googlable-questions
random
Sawry... Made it good :(
ApoY2k
Thank you for your answer, but i think you misunderstood me (or i was unable to get help from your answer). Problem is that IE places main text as if sidebar's vertical size was infinite. I want text placed under sidebar after it ends.
bizzz
Sounded to me like the usual box model bug... I don't quite get what you want to achieve as my IE displays it the exact same way, FF does...
ApoY2k
I'll make screenshots and include them in question.
bizzz
Okay, just saw I have IE8 installed...
ApoY2k
Some changes... don't know if it helps
ApoY2k
+1  A: 

Remove the zoom: 1 from the #mainContent.

I know you added that to work around IE bugs in the first place, but you're going to have to find another way to do that if you also want the main content to wrap around the float. Perhaps you can add it to select elements inside the main content.

See the paragraph titled "Elements next to floats" in the famous article "On having layout".

mercator
Thank you, you rule.
bizzz