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: Paged Media Canvas Background</title>
5 <link rel="author" title="Melinda Grant" href="mailto:melinda.grant@hp.com">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details">
7 <link rel="help" href="http://www.w3.org/TR/css3-page/#painting">
8 <meta name="flags" content="paged">
9 <meta name="assert" content="For documents in the html namespace, a background on 'html' will cover the page area but not the margin area.">
10 <style type="text/css">
11 @page { margin: 7%; }
12 html {
13 background-color: #ddffdd;
14 }
15
16 </style>
17 </head>
18 <body>
19 <div>
20 <p>There is a white margin around the edge of this page. The top and bottom margins are of equal height, and the right and left margins are of equal width. The rest of the page, including this text, has a pale green background.</p>
21 </div>
22 </body>
23 </html>