Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<link rel="match" href="page-name-margin-001-print-ref.html"/>
<style>
@page a {
margin: 0;
}
@page b {
margin: 1cm;
}
@page c {
margin: 2cm;
}
div {
width: 1cm;
height: 1cm;
border: 2px solid red;
}
</style>
<body>
<div style="page: a; border-color: lightblue"></div>
<div style="page: b; border-color: pink"></div>
<div style="page: c; border-color: gray"></div>
</body>
</html>