header and footer in print version of a asp page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • santosh9999
    New Member
    • Mar 2007
    • 4

    header and footer in print version of a asp page

    Hi All,
    I want to make a printer friendly version of a asp page.The Data is comming from a sql table.I can not pridict what will be length of the whole document.But client wants to put customised header and footer on every pages.can it be possible?
    Is there any way if i export it to .doc or excel file?

    Thanks in advance
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Originally posted by santosh9999
    Hi All,
    I want to make a printer friendly version of a asp page.The Data is comming from a sql table.I can not pridict what will be length of the whole document.But client wants to put customised header and footer on every pages.can it be possible?
    Is there any way if i export it to .doc or excel file?

    Thanks in advance
    I'm afraid that the w3c only supports 8 css styles related to paged media for HTML4 (the only one I really know well) and none of them deal with the header and footer; those are browser settings. I believe that javascript might be able to affect that, or some other formatting languages (DHTML, XML, etc).

    Also, if you know for what browser you are designing, I believe that IE accepts a whole bunch of microsoft attributes that can designate headers and footers.

    Sorry if I wasn't much help.

    Jared

    Comment

    • santosh9999
      New Member
      • Mar 2007
      • 4

      #3
      Hi,
      Thanks For ur reply.I am using ie6 and ie7.0.
      I tried using css to fix the position of header and footer.It works for me if the total pages to print is equal to one.Other wise footer overlaps with data.
      Has anyone anymore solutions....

      Comment

      Working...