<!DOCTYPE html>
<html>
<head>
<style type="text/css">
	@page {
		font-size: 8pt;
		border: dashed 1pt red;
		@top-center {
			background-color: #cc2;
			border-style: inherit;
			border-width: inherit;
			content: "";
		}
		@bottom-center {
			background-color: #cc2;
			border-style: inherit;
			border-width: inherit;
			content: "      ";
		}
	}
</style>
</head>
<body>
<div style="background-color: yellow;">
Arbitrary text.
</div>
</body>
</html>