Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to place page breaks when printing from my browser? I want to prevent that blocks of text get split at the wrong place.

Some background: I need to print drupal pages that list nodes (a node contains an item, an image and some text about that item). When I do a regular ctrl+p it happens most of the time that one node will be split over two pages. What I want to achieve is that I can place a page break after a node so that the next node will be printed on the next page.

It doesn't matter if I have to do it manually, any solution will be fine. Though I would prefer a browser addon. It also doesn't matter which browser will be used.

share|improve this question
I don't think there's any way to do this but please update Q to specfify browser (chrome, safari, ie, fox, opera, ...) – RedGrittyBrick Aug 14 '12 at 15:58
@RedGrittyBrick Any browser would be fine. It just has to work :) – Simon Verbeke Aug 15 '12 at 19:21
up vote 2 down vote accepted

If you can change the CSS used to format the page, See

@media print
table {page-break-inside:avoid}

Obviously, replace table with whatever HTML element contains your node.

share|improve this answer
That's brilliant! Let's hope I can get this to work in drupal. Will accept as soon as I can get it to work. – Simon Verbeke Aug 15 '12 at 19:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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