display none but still use code example Example: display none but keep space Click to copydiv { visibility: hidden; /* visibility: visible */ }