[pmwiki-users] Page break when printing

kirpi at kirpi.it kirpi at kirpi.it
Thu Mar 1 18:33:17 CST 2007


I was wondering how to force a page break when printing.

I could not find a way, so visited http://docs.google.com/ and
gathered some hints.

Are these lines

<p class="pb" style="page-break-after:always">
@media screen {
.pb { border-top: 1px dashed #C0C0C0; border-bottom: 1px dashed #C0C0C0 }
}
@media print {
.pb { border-top: 0px; border-bottom: 0px }
}
@media screen,print {
.pb { height: 1px }
}

useful to anybody, in order to replicate the funcionality?

Luigi


N.B. ...or I just missed it, and the right markup is already there in
the wiki...



More information about the pmwiki-users mailing list