When rendering Visualforce PDF, background size property isn't supported since this is CSS3: https://www.w3schools.com/cssref/css3_pr_background-size.asp
I'm trying to find a way to put a background image for a full size A4 with an image with this aspect ratio, when I try to do this with apex:image
it applies a small border on the image, so I figured background image should work instead.
Is there a way to set background image so that it fits the page?
<html>
<head>
<style type="text/css">
@page {
size: A4;
margin: 0;
background-image: url("{!$Resource.PDFBACKPAGE}");
position: absolute !important;
}
</style>
</head>
</html>