> This is a known issue.
> One way to fix this would be to use a CSS expression to get the computed
> height of the parent, you could try this:
>
> * html .myAbsolutelyPositionedElement {
> behavior: expression(
>        (this.runtimeStyle.behavior="none") && (this.runtimeStyle.height =
> (this.parentNode.offsetHeight/2) + "px"));
> }
>
>
> Do *not* replace the "* html" hack with the "_property" hack here, because
> IE7 would get that expression too.

Thierry:

You always seem to come through for me with an answer! Thanks.

This almost works. The main catch with it is that it's calculating the
height of the parent based on the content contained, whether the
content is hidden or not. These containers are going to have to be
flexible in height for both hidden (and toggled) content as well as
loading new content in via ajax.

I could create some call back functions that then do the calculations
via javascript and update the divs as needed on every change event
within the container. However, that seems to be going way out of the
way for IE6 users so, as such, I think we're going to just go the sane
route and IE6 users just won't get the visual bells and whistles on
this one.

Thanks everyone!

-DA
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to