can anyone tell me how to solve this problem? Picture attached here.
Div1 is floated left;
Div2 was isn't floated left so it goes like this;when was floated it goes entirely below Div1(due to width problem).
Also please tell me how can we make container of the size of its floated contents?