Thu, 2017-04-27 15:20
I have the following CSS code in my page:
<style> @media print { @page { size: 11in 17in landscape; margin: 1in 1in 1in 1in; } body * { visibility: hidden; } #content * { visibility: visible; } #content { position: absolute; left: 0; top: 0; } } </style>
However, when I print, either to PDF or to the printer, the page prints in portrait on normal 8.5x11 paper instead of the 11x17 landscape that I want. This CSS is at the very end of all other CSS, so nothing else is overwriting any of these items. Am I doing something wrong?
Chris
Thu, 2017-04-27 18:05
#1
print format
This is a user decision. See print preview and notice the portrait/landscape choice.
gary