This is a discussion on "Help formatting WEb pages for print" within the Classic ASP section. This forum, and the thread "Help formatting WEb pages for print are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Help formatting WEb pages for print
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Help formatting WEb pages for print
I have a web application that creates legal documents. When printed it is about 65 pages. The clients want to have each page numbered. Aside from hard coding the page numbre 65 times(yeah right!) I need away to increment the page numbers at the bottom of each page.
I can use <tfoot> to place the numbers on each page but I can;t get them to increment. Can someone help, PLEASE! Thanks, Justin |
|
|
|
|||
|
I'm pretty sure you can't do this with code.
If using IE your client would need to go to: File>Page Setup... Then for Footer put in something like "Page &p of &P", or just "&p" A list of the codes for use in the header and footer can be found at: http://www.pcabcs.com/realtour/page_setup_ie.htm |
|
|||
|
Thanks,
I was afraid of that! I found an article that said that about 30 minutes ago ... sigh! Have to do something else |
|
|||
|
Depending on your hosting you might be able to generate a PDF file of the document that includes page numbers.
|
|
||||
|
Cant you use server side code to generate the printable version??
The server side code could place page numbers on there (ok, they'll be slightly above the footer, but does that matter)
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
CSS2 has the functionality to do this I believe, but browser support is very limited.
|
|
|||
|
You can force page breaks in CSS, from my experience it's not perfect though
http://www.htmlgoodies.com/beyond/css_print.html http://www.w3schools.com/css/pr_print_pageba.asp |
![]() |
| Tags |
| help, formatting, web, pages, print |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Print Without Prompt | chrisgeast | JavaScript Forum | 2 | Sep 7th, 2007 10:34 |
| Javascript - Updating web pages with snippets from other pages | Ydot | JavaScript Forum | 3 | Jul 10th, 2007 14:38 |
| Designing Print Freindly Pages | pa007 | Website Planning | 7 | Apr 29th, 2007 22:13 |
| ClaireB | JavaScript Forum | 2 | Sep 9th, 2005 18:52 | |
| Scripting Needed(adding pages to pages) | Amari | Classic ASP | 1 | Sep 4th, 2004 18:06 |