Last post May 08, 2017 07:25 PM by Rednuts72
May 02, 2017 10:34 AM|Rednuts72|LINK
For my sites, I want to use the print function of internets navigators, all the elements are printed except the background-image body and the color of html buttons.
Thanks you for your help !
May 02, 2017 12:22 PM|kaushalparik27|LINK
Try setting -webkit-print-color-adjust: exact; for body background image:
printing - How can I force browsers to print background images in CSS?
css - Background color not showing in print preview
May 04, 2017 02:06 AM|Cathy Zou|LINK
By default, a browser will ignore background css rules when printing a page, and you can't overcome this using css.
The user will need to change their browser settings.
Therefore, any image which you need to print should be rendered as an inline image rather than a css background
For more information. please refer to the following links:
May 08, 2017 07:25 PM|Rednuts72|LINK
I'm trying to use an img control inside a div and the printing of image as background is ok.
Best regards !