In Firefox, https://bug743252.bugzilla.mozilla.org/attachment.cgi?id=714383 (view page source :: tag HTML).
In your code, replace <html>
with <html moznomarginboxes mozdisallowselectionprint>
.
In others browsers, I don’t know, but you can view http://www.mintprintables.com/print-tips/header-footer-windows/