Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>PDF Title</title>
- <meta name="author" content="this appears in the author metadata of the PDF">
- <style type="text/css">
- @page { /* size and margin of resulting PDF pages */
- size: letter;
- margin: 2cm;
- }
- body {
- background-color: white;
- color: black;
- font-size: 14px;
- }
- </style>
- </head>
- <body>
- Whatever HTML you want in the body of your PDF goes here. See xhtml2pdf documentation for list of compatible tags.
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement