Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: Page Box Background Coverage</title>
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
<meta name="flags" content="paged" />
<meta name="assert" content="The page background covers the entire page box, including the page margins."/>
<style type="text/css">
@page {
background-color:#ccffcc;
margin:25%;
border: 2pt solid;
}
</style>
</head>
<body>
<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>
</body>
</html>