in css i have a division tag that can vary in size(accepts input dynamically).
now i want the outside division tag to also expand according to the inner division tag.
i need to position the content1 from top 50px(from body division tag)
and content 2 from bottom 0px(from body division tag)
and the following functionalities.
now if the height of the content1 division tag expands(by giving height as auto) i want content2 to go down according to the height of content1 and also the body division tag to expand according to the height of content1.
Thanks in advance.