Please take a look at image below
All I want is somehow organize Div in order to achieve behavior drawn.
Div 2 height can be dynamically changed and based on height I want containers to behave like i draw them.
The main problem that I encounter is that Div in this case will try to force down both Div 3 and Div 4 (which is incorrect).
If this is not possible with Div only solution then maybe you can point at different container which can help here?, But still Div is proffered option.

UPDATE
This 2 cases should work as well.

Try this: