I have the following scenario I want Div2 height to resize depend on the content of Div3 how I can do that ?
---------------------------------- . DIV1
Try using the CSS attribute display: table-cell. See this jsFiddle.
display: table-cell
EDIT
Using floats, try this updated jsFiddle Or equally this one. Both provide an elegant solution.