1

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
  • 34,116
  • 4
  • 67
  • 98
IceWhisper
  • 767
  • 1
  • 9
  • 20

1 Answers1

1

Try

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

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

arek
  • 43
  • 1
  • 6