Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!


Sponsored Content

 

 
 

Photo
- - - - -

Printing Page Breaks


  • Please log in to reply
1 reply to this topic

#1 arlen

arlen

    HR 6

  • Active Members
  • PipPipPipPipPipPip
  • 835 posts

Posted 10 January 2005 - 08:12 PM

I'm trying to put together some easily printable reference sheets as a visitor resource on my site. I would like to compose them as printed pages, but don't want to force the visitor to have to hit next / print / next …

This is probably a dumb question, but is there any device in html that will force a page break?

I would imagine composing "pages" in independent & undersized tables might work in some instances, but with the variations in printers & browsers print margins I've run across. I don't think you could do pull it off without a page break command being native html code.

I'm probably better off with acrobat for the things I am considering, though I personally get annoyed with .pdf files because of the reader & document load times, and it's urge to update itself causing delays.

Edited by arlen, 10 January 2005 - 08:17 PM.


#2 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 5,881 posts
  • Location:Blackpool UK

Posted 10 January 2005 - 08:23 PM

there is page-break-before & page-break-after in the CSS2 specs. BUT it only sort of works in IE and the only supported attribute is always.

It really can only be safely used on relative or static positioned, non-floated elements. Should be ok it you set up a seperate style sheet for printing. because floats don't convert to printing very well hmm.gif

W3 Schools print reference




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users