Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: @page size B4</title>
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
<meta name="flags" content="paged" />
<meta name="assert" content="The 'B4' value of the 'size' property specifies that the page box's width be 250mm and its height 353mm."/>
<style type="text/css"><![CDATA[
@page {
size: B4;
border: 2pt solid black;
margin: 20mm;
}
]]></style>
</head>
<body>
<div>If B4 (250mm x 353mm) or larger paper is available, this content should be printed in a black box that has a width of 210mm and a height of 313mm.</div>
</body>
</html>