How can we set header, footer off while printing a php webpage?

Discussion in 'Programming' started by tejasluvs, Jun 26, 2010.

  1. #1
    There is an invoice preview webpage. I want to set header and footer information off while printing it. I know we can edit the page setup settings. But I wanted to know if we can do something without changing the default page setup settings. With default setting inside page setup, webpage title and webpage path are displayed for header and footer respectively.

    Thanks
     
    tejasluvs, Jun 26, 2010 IP
  2. imperialDirectory

    imperialDirectory Peon

    Messages:
    395
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How about use CSS and set "display: none;"?
     
    imperialDirectory, Jun 29, 2010 IP