Home › Forums › CSS › Parent div won't resize vertically to take account of child divs › Reply To: Parent div won't resize vertically to take account of child divs
January 3, 2015 at 3:22 am #192095
Absolutely positioned elements are taken out of the flow and do not count towards their parent’s height. That’s the point of absolute positioning
Positioning is a very poor way of laying out a website and is very unforgiving and definitely unresponsive.
There are much better methods – http://learnlayout.com/
I don’t want to start using any floats etc.
I don’t know why, it’s a perfectly acceptable layout method but there are others.
They all have their issues but using positioning is intended (at least these days) for specific effects not supported by the ‘standard’ layout methods.