-1

When I print longread html, I can insert background image, but it's work only on the first page. How I can insert bg image on every page?

@media print {
  body {
    background-image: url("something.jpg");
  }
}
Stanislav
  • 923
  • 1
  • 11
  • 28

1 Answers1

1

You have to write a selector as well to apply the background to:

@media print {
    body {
        background-image: url("something.jpg");
    }
}

Please be aware that you cannot change printer settings - printing background images is usually disabled.

See answers here:
CSS @page background-images on all pages?

Or google yourself:
stackoverflow print background image on every page

Peter Krebs
  • 3,831
  • 2
  • 15
  • 29