Thanks to everyone for sharing. This has been really helpful. I've  
seen the hasLayout and zoom but wasn't aware of their use. Thanks for  
the link Ingo and Georg, that's exactly what I needed. I'll be  
reading up on this.

Diona

On Dec 12, 2006, at 10:24 AM, Gunlaug Sørtun wrote:

> Diona Kidd wrote:
>> If I remove position relative from the wrapper, everything goes  
>> back into place. It's really odd and only happens in IE6. I  
>> discovered it while working with YUI. It's being used in a CMS  
>> that generates the form. YUI creates a resizable text area that,  
>> unless positioned absolutely, is positioned relatively.
>
>>>> I noticed an issue today with IE6. I have an example created at  
>>>> http://www.studio12a.com/test.html.
>
> If I understand your case correctly, then it goes something like the
> following.
>
> - IE6 often needs the combination of 'position: relative' _and_
> 'Layout'[1] on a container. Otherwise it may lose track of where to
> position wrapped elements.
> - The wrapper-div needs a 'hasLayout' trigger in your case.
> - A table triggers 'Layout' by default, so no additional 'hasLayout'
> trigger is needed.
>
> Solution - add...
> #wrapper {zoom: 1;}
> ...and make IE6 behave.
>
> IE7 is given fixes for a few of the 'Layout' and 'positioning' related
> bugs we know from IE6, but not for 'Layout' itself.
>
>
> Now, I'm not sure why you needed that 'position: relative' at all, but
> that's another matter. Plenty of IE-bugs related to that property  
> though.
>
> 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/

Reply via email to