Sander Marechal wrote:
> http://sylvester.jejik.com/webdev/stockwise/cssd/www/
> The problem is the floated image of the man and woman on the left.
> It's a simple float left with a negative left margin. The problem is
> that in IE7 it shows the image on the location it would have with no
> margins, but in the surrounding text it clears space like the image
> does have the margins. As soon as the page reflows (e.g. when I
> resize it a bit) then the image "jumps back" to the right location.
Old bug - new bugger :-)
IE7 needs 'Layout' just as much, and as often, as its predecessors - but
for different reasons/bug-combinations.
Add...
#contents {height: 100%;}
...as a 'hasLayout'[1] trigger on the container for the image (and the
rest). That will make IE/win space out that container's area and use it
as a _stable_ base for calculations.
regards
Georg
[1]http://www.satzansatz.de/cssd/onhavinglayout.html
--
http://www.gunlaug.no
______________________________________________________________________
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/