View Single Post
Old 01-17-2013, 04:10 PM   #4
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Not per se, but that doesn't mean it isn't possible to approximate it. The MOBI format does support forcing a page break at a particular spot, so what I would do is this:


Code:
<div class="nobreak">
content here
</div>

@media amzn-mobi
{
    /* MOBI7 styles */
    .nobreak {
        page-break-before: always;
    }
}

@media not amzn-mobi
{
    /* KF8 styles */
    .nobreak {
        page-break-inside: avoid;
    }
}
dgatwood is offline   Reply With Quote