I just noticed that on IE 7, in "standards" mode, setting width, height, or maximum or minimum width for a paragraph makes it behave differently, when there is floated content aside of it. For a simple demo, check http://www.cs.tut.fi/~jkorpela/test/float.html
When I have a left-floated image and a paragraph, then a padding-left for the paragraph is ignored (as long as the paragraph flows on the right of the image), i.e. the text touches the image. As far I have understood, this is correct by the specs. But when I set e.g. max-width for the paragraph, IE 7 magically starts applying the left margin. The most puzzling feature is that this does not happen in "quirks" mode, e.g. if I remove the doctype declaration. Neither does it happen on Firefox 2 (in either mode). Is this a bug in IE 7, or in my mind? -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
