473,247 Members | 3,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,247 software developers and data experts.

Header AND Footer?

Hi is there any simple way to get a footer in an html page? so that
when it comes to print, that footer is on EVERY page, just as whatever
you put in the <headtag is at the top of every page printed.

thanks
Feb 18 '08 #1
8 2069
On 18 Feb, 09:09, salmanjavah...@yahoo.co.uk wrote:
Hi is there any simple way to get a footer in an html page?
No.

You can do this (and do it well) with XSL:FO, which is much more
complicated but is targetted more for print-based output and has far
better features for this sort of task. Not much use on the web though.

You could also try <tablemarkup and using <theadand <tfoot>
elements. In _some_ contexts, these may be printed as repeated headers
and footers for each page that the table spans. Note though that this
has two drawbacks: It's far from reliable (print handling
implementation in HTML is usually poor and this behaviour isn't a
mandatory requirement anyway.) Secondly it's a clear abuse of <table>
as a purely layout feature.

Feb 18 '08 #2
On Feb 18, 1:23*pm, Andy Dingley <ding...@codesmiths.comwrote:
On 18 Feb, 09:09, salmanjavah...@yahoo.co.uk wrote:
Hi is there any simple way to get a footer in an html page?

No.

You can do this (and do it well) with XSL:FO, which is much more
complicated but is targetted more for print-based output and has far
better features for this sort of task. Not much use on the web though.

You could also try <tablemarkup and using <theadand <tfoot>
elements. In _some_ contexts, these may be printed as repeated headers
and footers for each page that the table spans. Note though that this
has two drawbacks: It's far from reliable (print handling
implementation in HTML is usually poor and this behaviour isn't a
mandatory requirement anyway.) Secondly it's a clear abuse of <table>
as a purely layout feature.
thanks for the help - will take a look

i'm 99% sure whatever is in the head tag appears at the top of every
page
Feb 19 '08 #3
sa************@yahoo.co.uk wrote:
On Feb 18, 1:23 pm, Andy Dingley <ding...@codesmiths.comwrote:
>On 18 Feb, 09:09, salmanjavah...@yahoo.co.uk wrote:
>>Hi is there any simple way to get a footer in an html page?
No.

You can do this (and do it well) with XSL:FO, which is much more
complicated but is targetted more for print-based output and has far
better features for this sort of task. Not much use on the web though.

You could also try <tablemarkup and using <theadand <tfoot>
elements. In _some_ contexts, these may be printed as repeated headers
and footers for each page that the table spans. Note though that this
has two drawbacks: It's far from reliable (print handling
implementation in HTML is usually poor and this behaviour isn't a
mandatory requirement anyway.) Secondly it's a clear abuse of <table>
as a purely layout feature.

thanks for the help - will take a look

i'm 99% sure whatever is in the head tag appears at the top of every
page
You have a browser that prints the META and LINK tags at the top of each
page?
Feb 19 '08 #4
i'm getting worried now, just tried it on my office pc and...as you
all said, it didn't work, will check out the one i did at home.
btw all this is for a replacement for the reports that are made in
access, my reports are quite complicated, and very frustating to put
together and edit in access, so i thought i'd try and move to html,
but obviously the headers and footers are going to be an issue.

Is xsl:fo THE solution for reports then? is it easy to learn?

thanks
On Feb 19, 11:50*am, Harlan Messinger
<hmessinger.removet...@comcast.netwrote:
salmanjavah...@yahoo.co.uk wrote:
On Feb 18, 1:23 pm, Andy Dingley <ding...@codesmiths.comwrote:
On 18 Feb, 09:09, salmanjavah...@yahoo.co.uk wrote:
>Hi is there any simple way to get a footer in an html page?
No.
You can do this (and do it well) with XSL:FO, which is much more
complicated but is targetted more for print-based output and has far
better features for this sort of task. Not much use on the web though.
You could also try <tablemarkup and using <theadand <tfoot>
elements. In _some_ contexts, these may be printed as repeated headers
and footers for each page that the table spans. Note though that this
has two drawbacks: It's far from reliable (print handling
implementation in HTML is usually poor and this behaviour isn't a
mandatory requirement anyway.) Secondly it's a clear abuse of <table>
as a purely layout feature.
thanks for the help - will take a look
i'm 99% sure whatever is in the head tag appears at the top of every
page

You have a browser that prints the META and LINK tags at the top of each
page?- Hide quoted text -

- Show quoted text -
Feb 19 '08 #5
sa************@yahoo.co.uk wrote:
On Feb 19, 11:50 am, Harlan Messinger
<hmessinger.removet...@comcast.netwrote:
>salmanjavah...@yahoo.co.uk wrote:
>>On Feb 18, 1:23 pm, Andy Dingley <ding...@codesmiths.comwrote:
On 18 Feb, 09:09, salmanjavah...@yahoo.co.uk wrote:
Hi is there any simple way to get a footer in an html page?
No.
You can do this (and do it well) with XSL:FO, which is much more
complicated but is targetted more for print-based output and has far
better features for this sort of task. Not much use on the web though.
You could also try <tablemarkup and using <theadand <tfoot>
elements. In _some_ contexts, these may be printed as repeated headers
and footers for each page that the table spans. Note though that this
has two drawbacks: It's far from reliable (print handling
implementation in HTML is usually poor and this behaviour isn't a
mandatory requirement anyway.) Secondly it's a clear abuse of <table>
as a purely layout feature.
thanks for the help - will take a look
i'm 99% sure whatever is in the head tag appears at the top of every
page
You have a browser that prints the META and LINK tags at the top of each
page?- Hide quoted text -
i'm getting worried now, just tried it on my office pc and...as you
all said, it didn't work, will check out the one i did at home.
btw all this is for a replacement for the reports that are made in
access, my reports are quite complicated, and very frustating to put
together and edit in access, so i thought i'd try and move to html,
but obviously the headers and footers are going to be an issue.

Is xsl:fo THE solution for reports then? is it easy to learn?
As was mentioned, it isn't much use on the Web. AFAIK there is no
browser support.

How about using Word?
Feb 19 '08 #6
On 19 Feb, 13:32, salmanjavah...@yahoo.co.uk wrote:
Is xsl:fo THE solution for reports then?
Works for me! It's my favoured route for "some database stuff" out
to PDFs (or other formats) with a lot of control over paper-based
typography.
is it easy to learn?
There's a lot of it.

_If_ you already know XML, XSLT and CSS, then it's pretty easy. XSL:FO
is written in XML, you'll most likely generate it with XSLT and the
rendering model is pretty close to CSS (with extensions for paged
media). If you don't know all three of these beforehand, then that's a
lot of learning for one project. It's all good stuff you'll not regret
having spent the effort on afterwards, but there's a lot of it.

OTOH, it's far less ugly than Crystal and at least you'll learn
something useful.
Feb 19 '08 #7
On Feb 19, 3:50*pm, Andy Dingley <ding...@codesmiths.comwrote:
On 19 Feb, 13:32, salmanjavah...@yahoo.co.uk wrote:
Is xsl:fo THE solution for reports then?

Works for me! * It's my favoured route for "some database stuff" out
to PDFs (or other formats) with a lot of control over paper-based
typography.
is it easy to learn?

There's a lot of it.

_If_ you already know XML, XSLT and CSS, then it's pretty easy. XSL:FO
is written in XML, you'll most likely generate it with XSLT and the
rendering model is pretty close to CSS (with extensions for paged
media). If you don't know all three of these beforehand, then that's a
lot of learning for one project. It's all good stuff you'll not regret
having spent the effort on afterwards, but there's a lot of it.

OTOH, it's far less ugly than Crystal and at least you'll learn
something useful.

Sounds like the ticket, pdf's exactly what i'm going to be finishing
them off in, doesn't need to be web viewable. The other main reason
why i'm looking down this route is because the code could all be made
within the database, and then simply exported if i'm correct. Or is
there an even better way? (without getting a much more advanced
database system than access/filemaker)
Feb 19 '08 #8
On 19 Feb, 17:16, salmanjavah...@yahoo.co.uk wrote:
Or is there an even better way?
Simplest possible report engine, then a really simple "Print as PDF"
tool like Distiller or Foxit?
Feb 19 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shiz | last post by:
I currently have a Form with Option buttons (to give you the option of sorting by name, or by Field, etc), these are referenced in a module which then formats the report contingent on the option...
3
by: John Crowley | last post by:
I keep running into this over and over again... I want a block server control that renders a header and footer, and child controls in between. But I don't want a templated control, for the...
2
by: LilBuh | last post by:
hi there :) i ve been looking for some time a way to print an html file from vb.net i came up with this code for printing and removing the header and footer from IE then once the printing is done...
0
by: LilBuh | last post by:
Hello :) this is a repost... i ve been looking for a way since last week ... i have a template html file that i modify from my code... i need to print this file without IE's Header and Footer or...
7
by: Neil Jarman | last post by:
Hi, I would like to allow users to print a page, but I want to suppress the header and footer that appear by default. I gather its done with a style sheet. Please advise. Many Thanks,
7
by: xkeops | last post by:
Thinking of creating a website, most of the pages will have a general toolbar menu, a content and a footer. The content will be the only one who's gonna change but the rest (header,footer) will...
11
by: Grischa Brockhaus | last post by:
Hi, I'm trying to produce a div layout containing a header on the top with fixed height, a footer on the bottom using fixed height and a content layer using what's left of the browsers window. ...
0
by: srk | last post by:
hi to all, i need some help , my problem is that i have to generate a word document withe the data from data base and it should be displayed as tables in word and i have to insert some header and...
1
by: KoosHopeloos | last post by:
L.S., I'm trying to make a layout which is completely fixed in width and height if needed by using three divs rows (header, content, footer) which have each 3 div again to be able to play around...
3
by: Noorain | last post by:
I designed a site. i want to header,footer,left & right column fixed but body information only scrolling. this site screen to be 800/600 px. i designed this way but when i used position fixed all...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.