Results 1 to 2 of 2

Thread: Needs header on every page

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Location
    India
    Posts
    27

    Question Needs header on every page

    Hi,
    i need some help for printing pages.

    I had one big page having lots of records with a header. When i print it, it lost the header on all the pages except for first page. I want that header should come on every page whenever a page break comes. I dont want to break the page length/no of records. I think this can be handled using javascript/CSS but dont know how it can be done.

    I am looking forward for a functionality like we have in MS-word where we define the header and it automatically comes on every page.

    If any body has any idea, pls help me out.

    Thanks in advance
    Jasvinder

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    You should be able to do it with CSS:
    Code:
    @media print {
      #header {
        position: fixed;
        top: 0px;
        left: 0px;
      }
      #footer {
        position: fixed;
        bottom: 0px;
        left: 0px;
      }
    }
    but I don't think IE (as usual ) supports that, but I think that's how to do it in Mozilla and Opera.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width