You can mark the size and margins of a printed page using the @page rule:
@page { size: A4 landscape; margin: 42pt 12pt; } @media print { a {color: inherit !important; text-decoration: none !important;} nav {display: none;} }
However , browser support is spotty - in addition to Prince XML , only IE8 + and Opera are supported. If you need precise cross-browser control over printing, consider the PDF output mechanism (usually server-side).
source share