T. R. Valentine wrote:
Is there any way to absolutely position a div *within* a relatively positioned div? IOW, if div elements above the containing div were to expand and push the containing div down, the absolutely positioned div within would be moved with its containing div.

Relative-positioned elements will move when pushed by a preceding (not
absolute-positioned) element, and absolute-positioned elements that are
positioned from within these relative-positioned elements will move with
them.

OTOH: absolute-positioned elements don't take up space, so they won't
push other elements anywhere. That makes layouts that are relying on
heavy use of absolute-positioning pretty difficult to keep under control.

In layouts where heavy use of absolute-positioning is needed, some
control can be achieved by nesting absolute-positioned containers and
using dummy-containers to fix positioning-problems. It tends to end up
even more complex than a deeply nested table-layout, so it is hardly
recommendable.

If not, is there anything in CSS3 that would make it possible?

Not sure if I understand what you're after, but the *push* of following
elements is easily achieved by simply _not using_ absolute-positioning
at all. Think CSS1 is enough in most cases.

Got a specific case where absolute-positioning has to be used?
A link maybe?

regards
        Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to