Dave Re wrote:
> In fact, it's specifically floating the image that causes the 
> problem. If I comment out the float, the margin of the containing div
>  stays in the right place (of course, the image isn't in the right 
> spot, but...)
> 
> Anyone have a clue for me?? I obviously can't seem to find one :)

I've forgotten which number in the looong series of IE-bugs we're
dealing with here, but if anything else fails then the following /will/
work.

Add this just above the *next* image in the source-code - the
left-floating one...

<br style="clear: both; font-size: 1px; line-height: 0; height: 0;" />

...and even IE will clear properly and stop adding width to the
container. Give that clearing <br /> a proper class for those styles,
and don't bother trying to use another element for that clearing.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/

Reply via email to