Header AND Footer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • salmanjavaheri@yahoo.co.uk

    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
  • Andy Dingley

    #2
    Re: Header AND Footer?

    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.

    Comment

    • salmanjavaheri@yahoo.co.uk

      #3
      Re: Header AND Footer?

      On Feb 18, 1:23 pm, Andy Dingley <ding...@codesm iths.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

      Comment

      • Harlan Messinger

        #4
        Re: Header AND Footer?

        salmanjavaheri@ yahoo.co.uk wrote:
        On Feb 18, 1:23 pm, Andy Dingley <ding...@codesm iths.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
        >implementati on 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?

        Comment

        • salmanjavaheri@yahoo.co.uk

          #5
          Re: Header AND Footer?

          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.rem ovet...@comcast .netwrote:
          salmanjavah...@ yahoo.co.uk wrote:
          On Feb 18, 1:23 pm, Andy Dingley <ding...@codesm iths.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 -

          Comment

          • Harlan Messinger

            #6
            Re: Header AND Footer?

            salmanjavaheri@ yahoo.co.uk wrote:
            On Feb 19, 11:50 am, Harlan Messinger
            <hmessinger.rem ovet...@comcast .netwrote:
            >salmanjavah... @yahoo.co.uk wrote:
            >>On Feb 18, 1:23 pm, Andy Dingley <ding...@codesm iths.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
            >>>complicate d 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
            >>>implementati on 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?

            Comment

            • Andy Dingley

              #7
              Re: Header AND Footer?

              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.

              Comment

              • salmanjavaheri@yahoo.co.uk

                #8
                Re: Header AND Footer?

                On Feb 19, 3:50 pm, Andy Dingley <ding...@codesm iths.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)

                Comment

                • Andy Dingley

                  #9
                  Re: Header AND Footer?

                  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?

                  Comment

                  Working...