Sorry for the confusing title. I have a parent div with an absolutely-positioned div inside.
Is it possible, for the parent-div to stretch to contain the child div?
I know that absolutely positioning an element removes it from the page flow, but still, maybe there's a trick i don't know?
Unfortunately not in the way that it sounds you are proposing. Absolutely positioned elements will not affect the container of a parent element. There maybe another way to achieve the result you are looking for (with or without absolute positioning) but without knowing what you are trying to achieve makes it hard to give you the right answer.
Thanks for your answer. Ok, I feared as much.
Will just float the child-div then.
I was trying to do the whole "2 Column Layout" without floats. Serves me right, haha.
I may be understanding your question wrong. If you set your parent element to
position: relative; then the child element will be positioned absolutely in relation to the parent element. This may or may not still remove it from the page flow.