page-size-000

Page Size - landscape

WeasyPrint

This browser

Flags
paged
Assertion
The 'landscape' value of the 'size' property specifies that the page's content be printed in landscape orientation: the longer sides of the page box are horizontal.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 <head>
 4 <title>CSS Test: Page Size - landscape</title>
 5 <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com">
 6 <link rel="author" title="Hewlett-Packard Company" href="http://www.hp.com/">
 7 <link rel="help" href="http://www.w3.org/TR/css3-page/#page-size">
 8 <meta name="flags" content="paged">
 9 <meta name="assert" content="The 'landscape' value of the 'size' property specifies that the page's content be printed in landscape orientation: the longer sides of the page box are horizontal.">
10 <style type="text/css">
11 
12 	@page {
13 		size:landscape;
14 	}
15 
16 </style>
17 </head>
18 <body>
19 	<div>This page must be printed in landscape orientation: the longer edges of the page must be horizontal.</div>
20 </body>
21 </html>