Click here to get back home

Header AND Footer?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Header AND Footer? salmanjavaheri 02-18-2008
|--> Re: Header AND Footer? Jukka K. Korpel...02-18-2008
Posted by salmanjavaheri on February 18, 2008, 4:09 am
Please log in for more thread options
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 <head> tag is at the top of every page printed.



thanks

Posted by Jukka K. Korpela on February 18, 2008, 6:59 am
Please log in for more thread options
Scripsit salmanjavaheri@yahoo.co.uk:

> Hi is there any simple way to get a footer in an html page?

No.

> so that
> when it comes to print, that footer is on EVERY page, just as whatever
> you put in the <head> tag is at the top of every page printed.

What??

You must be confused by your browser's habit of including some
information at the start of a printed page, possibly partly extracted
from the <title> element.

You can probably modify the browser's print settings e.g. via a command
like File/Page settings. That's not an authoring issue, though.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


Posted by Andy Dingley on February 18, 2008, 8:23 am
Please log in for more thread options
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 <table> markup and using <thead> and <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.


Posted by salmanjavaheri on February 19, 2008, 3:59 am
Please log in for more thread options
> 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 <table> markup and using <thead> and <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

Posted by Andy Dingley on February 19, 2008, 4:53 am
Please log in for more thread options
On 19 Feb, 08:59, salmanjavah...@yahoo.co.uk wrote:

> i'm 99% sure whatever is in the head tag appears at the top of every
> page

If by "head tag" you mean the <head> element, then no. If you mean
<title>, then usually yes, but it's only a one-line title, no more
than that.

Similar ThreadsPosted
header an footer August 2, 2006, 5:00 pm
Header, Footer, Content Layout using DIV and CSS? August 19, 2006, 7:32 am
Footer? March 25, 2006, 12:58 pm
Footer only to maintain background November 10, 2007, 9:49 am
Keeping the footer at the bottom April 25, 2008, 8:09 pm
How to position a "footer" div? (Aligning with "bottom:0" aligns to the viewport and not to the containing element :-( ) February 19, 2007, 3:22 am
header and footers? January 8, 2006, 7:33 am
Meaning of header: Accept */* November 25, 2004, 11:40 am
Header redirection problem with IE January 14, 2005, 1:33 am
Add text to header cell September 5, 2005, 2:08 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap