I can’t seem to auto-grow my parent div
’s height based on its floating child div
s. All the children are floating, to take up space horizontally, and then wrapping to the next line. There can be a changing number of floating children, and the parent has to auto-size its height. (The parent div
serves as a background for all the floating div
s). There is also a second div
below the parent div
that needs to be pushed down, so that it is below the floating div
s.
It’s of major importance that the solution works in IE.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…