I’m printing a page of my PHP application with the ( ctrl + P ) (default printing). How can i make sure that the CSS (tables, padding, cellspacing, background picture with opacity) are printed along on the sheet. I’m calling the CSS from another file.
Thanks for your help and time.
Add this to your HTML page. Now you need to adjust your page manually, for fitting it to the print page. (use the preview function in Chrome)
The interesting part for the browser is
media=printYou can find some more style commands for printing web pages here: