[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 532
  • Last Modified:

Print Entire Scroll Box On One Click

Hello. I am working on a webpage and need some help. I have an FAQ page (please see example here: http://www.amplifydesign.com/rib/faq.html) and would like to have an option so that the user can print out ALL of the text within the scrolling area. Currently, if you go to print the page, only what is showing in the scroll box when you select print will actually print out. Is there a way to do this? Please be specific, as I am still learning.

1 Solution
You need to create a second style sheet that is for printing only.  You basically hide everything but the text in the print stylesheet, so none of the graphics print and just the text.  It's a really common thing to do and there are a lot of articles on how to do this (i.e. google search for CSS PRINT)

you could also do it where the print button submits the form to a PHP server page that just outputs the form contents to a printer, but I think the above suggestion would be easier, if you are "just learning"

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now