I'm working on a website: where the client needs to print the page for flyers.
There are a couple of issues:
Two extra blank pages are showing up before and after the actual content.
In addition, the client wants the schedule printed in landscape mode with two schedules per page.
This is what my current CSS looks like:
@media print {
body {
visibility: hidden;
}
.noprint {
visibility: hidden;
}
div.printarea {
margin:0;
}
div.printarea * { display:block; visibility:visible; }
@page {
size: landscape;
}
}
Any advice or assistance would be highly valued.
(Please note that this site was built using React/NextJS)