Created
February 3, 2011 02:39
-
-
Save janxious/808939 to your computer and use it in GitHub Desktop.
A very basic layout for controlling page sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en-US"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<title>Untitled Document</title> | |
<style type="text/css"> | |
@page { size: A4; } | |
@page cover { size: A6 portrait; background-color: rgb(243,241,224); } | |
#cover { page: cover; } | |
</style> | |
</head> | |
<body> | |
<div id="cover"> | |
Example Cover | |
</div> | |
<div id="a_page"> | |
Example Page | |
</div> | |
<!-- You can check out the result of this at http://dl.dropbox.com/u/599002/DocRaptor/docraptor_page_sample.pdf --> | |
<!-- More info about paging at http://www.princexml.com/doc/6.0/page-selectors/ --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment