CSS Positioning (and when elements space is closed up)

When using relative positioning the space that the element normally needs is NOT closed up as the element is positioned.

However, when using absolute positioning the space that element normally needs IS closed up.

And don’t forget that positioning of an element is based on the “parent” element that was also positioned, otherwise it is the BODY/HTML element.

Published by

Jeremy Snyder

TODO: add interesting Bio info here :-)

Leave a Reply