2 years ago
#62229

my profile
is there any other way for hiding an element on print then css
I was trying my print code on different devices and on my phone the hidden elements still showed up after:
document.getElementById("head").style.display = "none";
and then:
document.print();
So my question is:
is there any way to hide it on phone or is there another print method.
I also tried visibility: hidden;
.
javascript
html
css
hide
show-hide
0 Answers
Your Answer