How to hide elements without having them take space on the page
Posted
by ripper234
on Stack Overflow
See other posts from Stack Overflow
or by ripper234
Published on 2010-05-28T11:52:25Z
Indexed on
2010/05/28
12:11 UTC
Read the original article
Hit count: 141
I'm using "visibility:hidden" to hide certain elements, but they still take up space on the page while hidden.
How can I make them totally disappear visually, as though they are not in the DOM at all (but without actually removing them from the DOM)?
© Stack Overflow or respective owner