2

Is there a solution for setting the margin-top, margin-bottom in print view for each view of a printed page?

I have tried with @page or by setting the margin in body {} but it does not seem to be working. (it sets margin-top just for the first page)

Christos Lytras
  • 36,310
  • 4
  • 80
  • 113
IceWhisper
  • 807
  • 1
  • 11
  • 20

1 Answers1

-1

Try

body {
    margin: 25mm 25mm 25mm 25mm;
}

take a look here for detailed answer: Margin while printing html page

arek
  • 39
  • 1
  • 6