Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Keeping content together when printing

css print printing

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 hinkeltje

hinkeltje

    CC Newcomer

  • Member
  • PipPip
  • 13 posts

Posted 21 February 2013 - 06:44 AM

Is there any way to keep content together when printing?
I mean, keeping header and content together, so the header is not at the end of page 1 and the content on the beginning on page 2. But they both will be on page 2.

 

Any help would be gladly apreciated.



#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 21 February 2013 - 08:35 AM

Hello Hinketje,

 

Yes, there is way,  you need to insert a page break either before the header or after the footer.

You can do it easily with CSS, check this link for proper explanation and example






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download