Background CSS not working print preview in Salesforce

Add the below CSS in the Visualforce page to fix it.

<style >
           
           @media print {
body {-webkit-print-color-adjust: exact;}
}

</style>

Cheers!!!

No comments:

Post a Comment