The contents of #child-2 spill over into #child-3 . For some reason , setting min-height: 100% on #child-2 won't allow it grow past 100% even when its content does . The content of the child elements are dynamic and can sometimes take up less than 100% and sometimes more . If I remove min-height then #child-2 correctly contains all of its content without overflow , but then I wouldn't be handling the case when the content takes up less that 100% height .
The contents of #child-2 spill over into #child-3 . For some reason , setting min-height: 100% on #child-2 won't allow it grow past 100% even when its content does . The content of the child elements are dynamic and can sometimes take up less than 100% and sometimes more . If I remove min-height then #child-2 correctly contains all of its content without overflow , but then I wouldn't be handling the case when the content takes up less that 100% height .