I am trying to print a div in one of my pages but i can\'t apply css when printing. Writing media=\"print\" inside of the style tags doesn\'t work. What should i do?
There is many ways for that:
First:
Second:
Third:
@media print { body { margin: 0; background-image: none; font-size: 12pt; } }
Hope this is Helpful for you..