CSS Adjust Parent DIV Size If Absolute Child DIV Falls Outside Boundaries
I have a parent div that is a specified width and height. If I have a child div inside that, that is outside the boundaries, is there a way to make the parent div adjust size to f
Solution 1:
Check this out.
You want to push the child down 250px from the top of the parent so do no use top:250px
. Use margin-top:250px;
and position:relative;
Post a Comment for "CSS Adjust Parent DIV Size If Absolute Child DIV Falls Outside Boundaries"