page-background-000.xht (903B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Page Box Background Coverage</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-properties"/> 8 <meta name="flags" content="paged" /> 9 <meta name="assert" content="The page background covers the entire page box, including the page margins."/> 10 <style type="text/css"> 11 @page { 12 background-color:#ccffcc; 13 margin:25%; 14 border: 2pt solid; 15 } 16 </style> 17 </head> 18 <body> 19 <div>This page must be covered by a pale green background. The background either completely covers the page, or leaves only a small strip of white where the printer can't reach.</div> 20 </body> 21 </html>