CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 18th, 2002, 08:33 AM
jbird4k jbird4k is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Maryland
Posts: 54 jbird4k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 40 m 18 sec
Reputation Power: 7
Send a message via ICQ to jbird4k Send a message via Yahoo to jbird4k
Question CSS:: formatting printer output

When using @media to set up a style sheet for printing, is it possible to force a pagebreak after 60 lines have been printed?
__________________
J. Birdsell,
www.carry-on-scheff-fans.com

Reply With Quote
  #2  
Old April 18th, 2002, 01:40 PM
MJEggertson MJEggertson is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Seattle WA
Posts: 863 MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 sec
Reputation Power: 8
There is a page break property in CSS (MSIE), but to apply it specifically after 60 lines will be a bit tricky. You'll need to do some scripting to calculate where your lines are, and place them in appropriate elements.

{page-break-before : sBreak;}

{page-break-after : sBreak;}

Reply With Quote
  #3  
Old April 19th, 2002, 02:28 PM
Utopia's Avatar
Utopia Utopia is offline
superficial
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: Peterborough, England
Posts: 188 Utopia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 8 sec
Reputation Power: 7
this might be of use.

matt
__________________
_______________
Matt

Reply With Quote
  #4  
Old April 22nd, 2002, 06:44 AM
jbird4k jbird4k is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Maryland
Posts: 54 jbird4k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 40 m 18 sec
Reputation Power: 7
Send a message via ICQ to jbird4k Send a message via Yahoo to jbird4k
Thanks folks,

I used the "page-break-after: auto" in a perl script that was creating a dynamic report table. This worked great . Now I just need to figure out how to replicate the report header on each page.

Thanks again.

Reply With Quote
  #5  
Old May 2nd, 2002, 01:06 PM
geoffm33 geoffm33 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Boston
Posts: 12 geoffm33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 53 sec
Reputation Power: 0
Have you had any luck repeating the page headers? I would be interested in how you did it.

I am trying the same thing with PHP...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS:: formatting printer output


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway