
table {page-break-inside: avoid;}

thead {display: table-header-group;}

tr {page-break-inside: avoid;}

td {page-break-inside: avoid;}

@page {
	counter-increment: pages;
	@bottom-center {
    	font-family: Tahoma, "Sans-Serif"; 
    	font-size: 10pt;
    	font-weight: normal;
    	content: "Page " counter(pages);
  	}
}

div#printhead {
	display: block;
	position: fixed; top: 0; left: 0; width: 100%; height: 2em;
}
