How to Add a Background Image to the Header
A common use-case is to add a background image to one of the page corners.
@page :left { @bottom-left-corner{ content: " "; background-image: url('https://www.oxygenxml.com/resellers/resources/OxygenXMLEditor_icon.svg'); background-repeat:no-repeat; background-position:50% 50%; } }
Important: Always specify a
content property. If not, the page
margin box will not be generated.Note: You can use raster image formats (such as PNG or JPEG),
but it is best to use vector images (such as SVG or PDF). They can be scaled and
produce better results when printed.