SyntaxFix
Write A Post
Hire A Developer
Questions
Use display:none;
display:none;
<div id="divCheckbox" style="display: none;">
visibility: hidden hides the element, but it still takes up space in the layout.
visibility: hidden
display: none removes the element completely from the document, it doesn't take up any space.
display: none