Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Match the Webpage Style as per the Printed Page Style? Reply To: Match the Webpage Style as per the Printed Page Style?

#265955
JeroenR
Participant

You can use the media attribute on a link tag to specify whether styling is for, for example, screen or print. Most of the time we use all, I guess. So styling should be visible in your printed page as well. I think using background images is a print setting, so that one can be found when actually printing the page.
Just try to print this page. And you will see almost the same thing.
There are some CSS properties that don’t work on print. For example float. And there are probably more properties like that.