<!DOCTYPE html> <html class="reftest-print"> <head> <meta charset="utf-8"> <style type="text/css" media="all"> @font-face { font-family: 'dvsm'; font-style: normal; font-weight: 200; src: url(../fonts/DejaVuSansMono.woff) format('truetype'); } body,html {margin:0; padding:0;} .header{ font-family: 'dvsm'; position:fixed; top:0px; left:0; right:0; } </style> </head> <body> <div class="header">This is a header!</div> <p>I'm a paragraph (0)</p> <p style="page-break-before:always; padding-top:2em;">I'm a paragraph (1)</p> </body> </html>