Helpful Information
 
 
Category: HTML Programming
Printing

Is there a way for one set of images to show up on-screen and have another set be printed when the normal print command is called? The page I'm making has a ton of formulae in it and the ones that print well look awful in the browsers.
Any help would be appreciated!

for those googling...
css is the solution

<div class="browser">photos to show here</div>
<div class="print">photos to print here</div>

then in a style sheet linked with media="all"
.browser { display:block; }
.print { display:none; }
then after in a style sheet linked with media="print"
.browser { display:none; }
.print { display:block; }










privacy (GDPR)