Home › Forums › CSS › [Solved] Is display none the right way to hide an element? › Reply To: [Solved] Is display none the right way to hide an element?
The question is…why are you hiding it?
If you’re hiding it to show it later then
display:none is a reasonable option.
Alternatively, you could hide it offscreen with a large positioning value.
Or add/remove it with JS/JQ
However, if you’re hiding it because it’s showing up on your page and you don’t want it there you need to think about how it’s getting there and fix that.