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
Get Chitika Premium
Posted by Stephan Bird on February 19, 2008, 4:55 am
Please log in for more thread options
On Tue, 19 Feb 2008 00:59:28 -0800 in
dcc854ff-4fa2-4e3c-99fe-45d6f9ba908d@41g2000hsc.googlegroups.com
salmanjavaheri@yahoo.co.uk wrote:

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

Only if you've set it as such, either consciously by editing the headers/
footers or less so by things that cannot be changed like hard-code in the
browser. For instance in Firefox 2.0.0.12 (for openSUSE 10.2) you have
the choice of Title (as per the title tag), the URL, the Date / Time,
page #, page # of total, or nothing. Opera 9,25 seems to hard-code Title
and page # as headers, and URL and date as footers.

Stephan
--
Stephan Bird MChem(Hons) AMRSC
stephan.j.bird@mad.scientist.comREMOVE
Currently in Caernarfon, Wales.

Posted by Harlan Messinger on February 19, 2008, 6:50 am
Please log in for more thread options
salmanjavaheri@yahoo.co.uk wrote:
>> 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

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

Posted by salmanjavaheri on February 19, 2008, 8:32 am
Please log in for more thread options
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=A0am, Harlan Messinger
> salmanjavah...@yahoo.co.uk wrote:
> >> 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
>
> You have a browser that prints the META and LINK tags at the top of each
> page?- Hide quoted text -
>
> - Show quoted text -


Posted by Harlan Messinger on February 19, 2008, 10:27 am
Please log in for more thread options
salmanjavaheri@yahoo.co.uk wrote:
> On Feb 19, 11:50 am, Harlan Messinger
>> salmanjavah...@yahoo.co.uk wrote:
>>>> 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
>> 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?

Posted by Andy Dingley on February 19, 2008, 10:50 am
Please log in for more thread options
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.

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