I'm using% css of CSS to customize the page at print time, but I'm not able to remove the footer and header created by the own browser
. I know what to remove for the @media print{}
settings, but I do not know how to exit via code with Browser
or through javascript?
Here's what I've tried:
header { display: none !important; }
footer { display: none !important; }