I have some elements that are absolutely positioned. I am trying to add a div under them so it starts after the height of the absolute elements finish, but I can’t work it out. I have tried adding a min-height, but it create a lot of space when scaling down/responsively.
Is there a way I can start an element after the absolutely positioned items?
Thanks, but the reason I used absolute was to have the middle image have a negative top margin. Is there another way to achieve this using absolute positioning and having the height auto?
Thanks. It worked. The idea with the absolute positioning was to have the middle image on top of the others so it had an overlapping effect, but i can play around with it.
Again, not a reason for absolute. Relative positioning can create overlapping effects.
As a general rule, don’t use absolute unless you absolutely need to and absolutely know what you are doing with it. It will likely cause more problems than it solves when used unwisely.