1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Watermarks example</title>
<style type="text/css">
@page {
size: a3;
background-image: url('img/denker.png');
background-object-position: 500px 300px; /* left bottom */
background-height: 150px;
background-width: 50px;
@frame content_frame {
left: 50pt;
width: 512pt;
top: 50pt;
height: 692pt;
-pdf-frame-border: 1; /* for debugging the layout */
}
}
@page pg1 {
size: a4;
background-image: url('pdf/test-invoice-bg.pdf');
@frame content_frame {
left: 50pt;
width: 512pt;
top: 50pt;
height: 692pt;
-pdf-frame-border: 1; /* for debugging the layout */
}
}
@page pg2 {
size: a4;
background-image: url('img/beach.jpg');
background-page-step: 2;
background-opacity: 0.5;
@frame content_frame {
left: 50pt;
width: 512pt;
top: 50pt;
height: 692pt;
-pdf-frame-border: 1; /* for debugging the layout */
}
}
</style>
</head>
<body>
<body>
<h1>Resume Page</h1>
<p>This is a resume page with in a3 pagesize.</p>
<pdf:nextpage name="pg1" />
<h1>Title Page</h1>
<p> This is a title page with a large 5cm margin.</p>
<p> Warning: Your pdf need to have transparent page.</p>
<pdf:nextpage name="pg2" />
<h1>Chapter 1</h1>
<p>This is a regular page with a regular 2cm margin.</p>
</body>
</body>
</html>
|