Duh... You were saying margin and I was hearing border, which had also disappeared. You have to force the container div to have layout. If you aren't familiar, much press on this one.. It's what the holly hack was invented for. But... With IE 7, you have to feed something like height:1px to IE6, and then turn around and set it to auto for IE7 and FF. Fun stuff.
When you force haslayout on the container, you will then see the unfixable bug in IE6, which is that your marging will be 2x what you specify, or 20px. Alan K. Gay (404) 816-0599 -----Original Message----- From: Michael Peters [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 5:02 PM To: [EMAIL PROTECTED] Subject: Re: [css-d] IE6 losing marin-left when using a clearing element Alan K. Gay wrote: > See screenshot from IE6/W2000. Isn't this what you expect? No, that's the way it's always misbehaved. Notice that the 10px margin should be to the left of the red box (the container). There is no margin on the blue box, so in the upper left hand corner the blue and red boxes should line up. Attached is how it looks in FF. -- Michael Peters Developer Plus Three, LP ______________________________________________________________________ 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/