Sophie Dennis wrote:

> In fact any property which sets hasLayout on the container with the 
> background will do the trick. Similar bugs can also occur in IE7 but 
> *not* in IE6 (just to confuse you). See 
> http://www.cayenne.co.uk/ie7/disappearing-content.html for tests and 
> longer explanation of the fix.

You'll find that most cases are related to IE losing track of relations
between parent and child elements, thus getting the stacking wrong
and/or unstable. The result is that the child gets completely or partly
covered by the parent.
If the parent has a transparent background or (as often is the case) no
background, then this covering-effect is not immediately apparent. Once
there are backgrounds involved, the covering-effect may become really
confusing, because IE mixes up the relations between elements.

You may then either stiffen up IE's backbone by triggering its
'hasLayout' bug at the right elements, while making sure to counteract
any negative effects that bug may have on element-relations.
You may also, in some but not all cases, affect the stacking directly.
In many cases you'll have to do both to achieve a reliable effect/fix.

I'll borrow Bruno's test case to illustrate the covering effect in a
certain case - not unlike the original case in this thread...
<http://brunildo.org/test/iew_boo2.html>
...and add a pointer to a relevant section in the 'hasLayout' article...
<http://www.satzansatz.de/cssd/onhavinglayout.html#stack>

regards
        Georg
-- 
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