Force page break between slides when printed master
authorBen Hutchings <ben@decadent.org.uk>
Thu, 27 Jan 2011 06:29:07 +0000 (16:29 +1000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 27 Jan 2011 06:29:07 +0000 (16:29 +1000)
The current page break avoidance rules don't seem to work, so avoid
breaks within slides by forcing breaks between them.

index.html

index 48d3612..ae10127 100644 (file)
@@ -23,6 +23,9 @@
   th { border-bottom: 2pt solid black }
   th, td { padding: 0 6pt }
 </style>
+<style type="text/css" media="print">
+  .slide { page-break-after: always }
+</style>
 <!-- S5 JS -->
 <script src="s5-blank/ui/default/slides.js" type="text/javascript"></script>
 </head>