Комментарии:
How to join colour with print in html ?..
ОтветитьAwesome video.
ОтветитьUsing button tag
<button target="blank" style="cursor: pointer" onclick="window.print();">Print</button>
So thankful I found this video. It helped me solve a simple problem where all other sites I was referencing were using javascript to accomplish the same thing. Thank you.
ОтветитьTo anyone looking to remove the print button:
1) Add class="print-button" to the print button.
2) Add @media print { .print-button { display:none; } } to your CSS in a <style> element.
thanks alot
Ответитьthanks,but i dont want printer to print "PRINT BUTTON" or my url on my paper
ОтветитьTHANK YOU :)
Ответитьthank you
ОтветитьThanks a lot mam, It definitely works but I want to print a particular portion like a <div> which contains I need to print out only. Besides this way "Ctrl+P" works the same. How it will possible? Pls. help in this regards . Thanks once again.
ОтветитьTHANKS BUT I WANT TO Remove print Button how i can do this ?
ОтветитьIs there any way I can use an JPG image as a print screen?
Ответитьek no...
Ответитьwonderful
ОтветитьVery useful. Thank you!
ОтветитьThanks...
ОтветитьGOOD :)
Ответить