2

When printing the informational content on a web page, I do not want to print the navigation, menu, header, or footer. I would want to include the URL of the page so that I can find it again (and maybe the URLs of external links).

Is there ever a use case for printing the navigation of a site?

  • This question is off topic to UX because it's about implementation. But you are on the right track. I'd suggest you ask at StackOverflow and check out this article from Smash Magazine – Socrates Kolios Oct 10 '17 at 10:22
  • 5
    I disagree that it is about implementation - it is about the usability of hiding the navigation when printing. I just included the CSS to show what I am doing. But the Smashing Magazine link is helpful, thank you. – Yvonne Aburrow Oct 10 '17 at 10:30
  • 3
    This is absolutely on-topic. It isn't an implementation question. – Matt Obee Oct 10 '17 at 11:40
  • I just removed the CSS example to avoid any confusion :) – Yvonne Aburrow Oct 10 '17 at 11:47
1

This is a mixture of ux and implementation. The ux part is the consideration on behalf of the user to be able to clearly see where this came from (plus other links printed out).

Optimizing web pages for print is important because we want our sites to be as accessible as possible, no matter the medium. We shouldn’t make assumptions about our users and their behavior. People still print web pages. Just think about articles or blog posts, recipes, contact information, and directions or real estate sites. Someone somewhere will eventually try to print one of the pages you made.

I won't put any css markup here (better handled by stack overflow), but here's a fairly recent article regarding print stylesheets:

I totally forgot about print style sheets

It has a section regarding print links out.

  • thanks. I know how to do a print stylesheet and a print media query, so I promise this is about whether to hide the navigation in the print stylesheet. – Yvonne Aburrow Oct 11 '17 at 8:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.