How to hide elements without having them take space on the page?

Try setting display:none to hide and set display:block to show.

Leave a Comment