/* target left (even-numbered) pages only */, /* target right (odd-numbered) pages only */. Vanishing of a product of cyclotomic polynomials in characteristic 2. Warning: image-orientation: none; does not override the orientation of non-secure-origin images as encoded by their EXIF information, due to security concerns. How can I define a CSS class to set the printed page in landscape mode? Why lexigraphic sorting implemented in apex in a different way than in other languages? A print style sheet can be added to the HTML after the standard style sheet: The print.css styles will be applied in addition to screen styles when the page is printed. Change part of a document to landscape Select the content that you want on a landscape page. .topright {display:none;} The orientation CSS media feature can be used to test the orientation of the viewport (or the page box, for paged media). For example: In this example, columns will be created when theres at least 37em of horizontal space. Switch to your text editor that shows the -0 landscape The following image has been rotated through 180 degrees, and the image-orientation property is used to correct its orientation based on the EXIF data in the image. want part of your text to be hidden in a print-out even if it does not show in the browser window. This topic was automatically closed 91 days after the last reply. It there a way to do this, without the user having to change the document settings? the cascade of styles. I compared all three browsers to the state they were in the last illustrations above. course, some browsers have a print Each browser However, CSS print control has been possible for many years, and a basic style sheet can be completed within hours. there is another plan! In IE the soccer ball was no longer split between two pages. One well-supported media feature is orientation, which allows us to test for portrait or landscape mode. Have I missed something? If you really can't Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. The example output is embedded in an