1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html dir="rtl">
3 <head>
4 <title>CSS Test: Page Selectors - First Page in RTL Forced :right</title>
5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-selectors">
7 <meta name="flags" content="paged may">
8 <meta name="assert" content="The first page of a right-to-left document can be forced as :right by inserting a page break.">
9 <style type="text/css">
10 @page:first {
11 margin-top: 50%;
12 }
13 @page:right {
14 margin-left: 50%;
15 }
16 @page:left {
17 margin: 0;
18 }
19 html {
20 page-break-before: right;
21 margin: 0; padding: 0.2em;
22 border: solid blue;
23 border-width: thick thin thin thick;
24 }
25 </style>
26 </head>
27 <body>
28 <p>When printed the top left corner of this box must be in
29 the exact center of this page.</p>
30 </body>
31 </html>