Re: MiServer output pages to PDF for print
Posted: Sun Oct 13, 2024 6:42 am
Marco,
You can assign a bit of CSS to the button in order to prevent it from being printed.
This defines a class "no-print":
Assign that class to the button and it will show but not print.
Having a dedicated print style sheet is generally not a bad idea:
https://alistapart.com/article/goingtoprint/
You can assign a bit of CSS to the button in order to prevent it from being printed.
This defines a class "no-print":
Code: Select all
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
Having a dedicated print style sheet is generally not a bad idea:
https://alistapart.com/article/goingtoprint/