www.webdeveloper.com
Results 1 to 2 of 2

Thread: get rid of headers and footers while printing

  1. #1
    Join Date
    Apr 2009
    Posts
    14

    get rid of headers and footers while printing

    hi there,

    this seems to be a problem for many people, ive had a real good look for a solution to this but there doesnt seem to be a solution to this one.

    when i print a web page, certain information is added to the letter by the browser into the header and footer.

    info like "Page 1 of 4", the date, the document URL...

    it would be great if javasrcipt (or css would be even better) could turn off the header and footer info so it wasnt printed out.

    most articles i have seen say you cant do it and you need to switch the header and footer off in "page setup" or "print preview" in the print dialog boxes.

    good luck,

    Paul

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    You cannot change the user's settings like that, it's totally up to them what to print. All you can do is use a "print" stylesheet to add or remove stuff on the page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles