>> It appears that IE6 can't calculate the height of the container div
>> based on the nested relatively positioned div and therefore doesn't
>> know % of *what* to make the absolutely positioned div.
>>
> You need to hack IE6. It does make sense of some percentages.

[...]

> * html .container {overflow:hidden;} /* hack for IE6, hides overflowing
> padding */
> * html .ap {padding-top:200%;top:auto;bottom:50%;} /* hack for IE6 to give
> some height */
>
>
> Hopefully the ap box isn't for a image, could get complicated. If so,
> padding-bottom:200% also works.

Interesting! Alas, yes, these are specifically for images. This
solution does some interesting things. I'll play with it a bit.

-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