CSS - Landscape html page in print slips in other page
<p>I made a simple page, where I want some page break and the pages in landscape for print. The problem is, that all the pages are slipping in the previous page.
Here is my code:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;style&gt;
        .break {
            page-break-after: always;
        }
        .page {
            width: 29.7cm;
            height: 21cm;
            margin: 0;
            padding: 0;
        }
        @media print {
            .container {
                 -webkit-transform: rotate(-90deg); 
                 -moz-transform:rotate(-90deg);
                 filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
            }
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class="page break container"&gt;
    Lorem ipsum (...) turpis.
    &lt;/div&gt;
    &lt;div class="page break container"&gt;
    Nulla sagittis (...) lectus.
    &lt;/div&gt;
    &lt;div class="page container"&gt;
    Donec pharetra (...) Curae;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>And the result in print preview looks like this: <a href="https://i.stack.imgur.com/ZMoGN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZMoGN.png" alt="enter image description here"></a></p>

<p>I tried to modify the width and height and some others things, but the only difference is the position where the text is drawn on the preview.</p>

<p>Any idea?</p>

<p>Thanks in advance!</p>