displaying page numbers on html

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dustin D.

    displaying page numbers on html

    If a user prints an html file, is there a way to display page numbers
    on the document using cascading style sheets or something of that
    sort? I have a document that is generated dynamically by form data
    using Perl, and would like some sort of page numbering system on each
    page. It seems like some browsers have the option to print page #'s,
    but at least Netscape 7 doesn't (and most of my users are primarily
    unix-based).

    I realize printing a document is somewhat outside of the realm of
    HTML's grasp, but I was hoping maybe someone had a clever solution.
    Since the content of the html is dynamic, formatting it so I know
    where the page breaks occur is not easy. Not to mention, each version
    of Netscape prints using a different font apparently.

    Thanks,
    Dustin
  • kaeli

    #2
    Re: displaying page numbers on html

    In article <7259a2ce.04021 71429.566f22dc@ posting.google. com>,
    blackened@austi n.rr.com enlightened us with...[color=blue]
    >
    > I realize printing a document is somewhat outside of the realm of
    > HTML's grasp, but I was hoping maybe someone had a clever solution.
    > Since the content of the html is dynamic, formatting it so I know
    > where the page breaks occur is not easy. Not to mention, each version
    > of Netscape prints using a different font apparently.
    >[/color]

    There is a way to control the font when printed (see stylesheet media
    param). As to the page numbers, I don't think so.



    Asking this in comp.infosystem s.www.authoring.stylesheets might be
    fruitful.

    --
    --
    ~kaeli~
    Who is General Failure and why is he reading my hard disk?



    Comment

    • Stan Brown

      #3
      Re: displaying page numbers on html

      It seems "Dustin D." wrote in comp.infosystem s.www.authoring.html:[color=blue]
      >If a user prints an html file, is there a way to display page numbers
      >on the document using cascading style sheets or something of that
      >sort?[/color]

      No.

      Most browsers do this, usually with information like date and URL.
      It is a browser setting by the user, not anything set by the
      document author.

      --
      Stan Brown, Oak Road Systems, Cortland County, New York, USA
      DRAGON222 menjadi link resmi Sportsbook terunggul . Sistem cepat respon, tampilan sangat lancar anti lag, dan kemungkinan menang terjadi pada tekad kuat anda.

      HTML 4.01 spec: http://www.w3.org/TR/html401/
      validator: http://validator.w3.org/
      CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
      2.1 changes: http://www.w3.org/TR/CSS21/changes.html
      validator: http://jigsaw.w3.org/css-validator/

      Comment

      Working...