User1216627406 posted
I have a one page document that when printed, has both header and URL at bottom of page.
I googled and discovered I could use the following CSS to get rid of the URL at head and bottom of page.
<style type="text/css" media="print">
@page
{
size: auto; /* auto is the initial value */
margin: 0; /* this affects the margin in the printer settings */
}
html
{
background-color: #FFFFFF;
margin: 0; /* this affects the margin on the html before sending to printer */
}
body
{
border: solid 0px blue ;
margin: 10mm 15mm 10mm 15mm; /* margin you want for the content */
}
</style>
However, the only way it works is if I set the printer to use "actual" instead "fit page" options.
The page uses <TABLE> properties.
Am I missing something?
Thanks in advance