How to handle printing of HTML pages?
Posted
by Jaran
on Stack Overflow
See other posts from Stack Overflow
or by Jaran
Published on 2010-03-16T18:40:02Z
Indexed on
2010/03/16
18:41 UTC
Read the original article
Hit count: 240
html
|language-agnostic
In my portfolio site I have listed my projects under separate tabs (tab menu). This works well except for printing which requires the user to click on a tab, print, click on the next tab and print the same page again to get everything. Being a portfolio I'd assume that visitors want to print all of the content.
Is there a general way to create a different style when printing a web page? Or should I just add a printer icon on my page which redirects the user to a different page where all the data is in a big chunk and then prompt the user's browser to start printing?
© Stack Overflow or respective owner