Chris Hanks wrote:

> http://www.selfsoothingsoftware.com

> The second, and more pressing problem, is that my main content (the 
> text column and floated boxes) appears completely out of whack in IE.
>  The boxes are approximately in the right place, but IE7 is trying to
>  center the paragraphs of the text column midway between the floated 
> boxes and the opposite edge of the screen, and I'm not sure how to 
> make it stop.

Without looking at it in depth: min-width/max-width acts as
'hasLayout'[1] triggers in IE7, which causes the effect you're describing.
In my (very personal) terminology you get "a hard margin on a block
formatted element", which means the margins on paragraphs won't flow
behind the floats but instead line up against them, and the paragraphs
become isolated square blocks.

No other way to fix that IE7 'hasLayout' bug but to delete the
min-width/max-width 'hasLayout' triggers, and find another way to add
the space at both sides. If you want/need to support IE6 you'll have to
create such an alternative solution anyway.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to