View Single Post
Old 08-20-2012, 05:04 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,657
Karma: 38766103
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by msmith65 View Post
Since I'm breaking a page before each h1 and h2, can I build something into their definitions in the CSS that will force the break before?
You bet. Just like Doitsu indicated, if you already have an element in your document that you consistently want a page break to precede, then by all means ... no need to add extra code. Just assign the page-break-before attribute to whatever element (or element class) works for you.
DiapDealer is online now   Reply With Quote