Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: Paged Media root container</title>
<link rel="author" title="Melinda Grant" href="mailto:melinda.grant@hp.com"/>
<meta name="flags" content="paged" />
<meta name="assert" content="For a single-page document, the containing box for the root element is the page area."/>
<style type="text/css">
@page {
margin: 2cm;
}
html {
background: #fee;
}
</style>
</head>
<body>
<p>There must be a pale pink background covering this page up to the two centimeter margin.</p>
</body>
</html>