When adding elements to a container div with an initial height of 'auto', I assumed that the height would adjust based on the children elements added. However, this is not happening. Can anyone assist me in ensuring that the container div's height updates according to the height of its children?
Upon inspecting in Chrome's debugging tool, I noticed that the height of the container div is actually smaller than the height of the children divs. The children divs are floated left.