470,826 Members | 1,809 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,826 developers. It's quick & easy.

HTML Reports, want to print the report heading on each page...

Hello,

I have generated an HTML version of a previously text report in our
application. Looks great everything fine for viewing.

Currently the heading of the report is at the top of the HTML report. Would
like for the contents of this header to automatically print at the top of
each page if the user prints it. Is there anyway to do this within HTML?

I know this is a simple request but did not se it in the FAQ.
Thanks in advance,

James
Jul 23 '05 #1
2 4905
On Sun, 14 Nov 2004 23:01:18 GMT, <JF********@houston.rr.com> wrote:
I have generated an HTML version of a previously text report in our
application. Looks great everything fine for viewing.

Currently the heading of the report is at the top of the HTML report. Would
like for the contents of this header to automatically print at the top of
each page if the user prints it. Is there anyway to do this within HTML?


Not directly, no. But if you place it in the Title element, I think
you'll find many/most browsers will put it at the top of the page.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 23 '05 #2
In article <2t*******************@fe2.texas.rr.com>,
<JF********@houston.rr.com> wrote:
Hello,

I have generated an HTML version of a previously text report in our
application. Looks great everything fine for viewing.

Currently the heading of the report is at the top of the HTML report. Would
like for the contents of this header to automatically print at the top of
each page if the user prints it. Is there anyway to do this within HTML?

I know this is a simple request but did not se it in the FAQ.


If your report is a <table>, you can enclose the header portion in
<thead></thead> tags, the rest in <tbody></tbody> tags. Then *some*
browsers will print the header at the top of each page.

--
= Eric Bustad, Norwegian bachelor programmer
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Philippe C. Martin | last post: by
1 post views Thread by James Fortune | last post: by
6 posts views Thread by Melissa | last post: by
1 post views Thread by ChadDiesel | last post: by
3 posts views Thread by bob | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.