I want to hide a div tag using style property
<div style='visibility:hidden'>Sample</div>
But, the property is working for firefox but not safari. Can someone suggest an alternative. Thanks in advance.
You can use display: none;
The code would look like this:
<div style='display:none;'>Sample</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With