Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

169
Views
JavaScript window.print leave empty footer

I have a Blazor Calculator and I am using Javascript window.print to save my results as PDF.

Although the first's page header is fine, and there is enough space

enter image description here

There is no space on the footer or the header on the rest of the pages

enter image description here

I found a few answers on CSS style referring to @media print but nothing works.

So basically, I want all pages to have header and footer space.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Used this on my CSS

@page {
    margin-top: 80px;
    margin-bottom: 80px;
    margin-right: 0px;
    margin-left: 0px;
    
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!