Is it possible to have multiple floats inside a absolute positioned div without specifying the width of the absolute container?
Your code with absolute and floats works perfectly, but just not in my case. I tried to simplify the problem, but obviously something else is wrong. I will come back to you as soon as i figure out why. Sorry.
Right, this is the reason for my problem.
outline: 4px solid red;
border: 1px solid #f00;
border: 1px solid #0f0;
border: 1px solid #00f;
remove position relative on
#anotherContainer problem will be solved.
check jsfiddle working link