Quote:
Originally Posted by Nate the great
Does rbmake convert <div style="page-break-after:always"/> to the <hr size=0> tag that functions as a pagebreak in RB format?
|
The ebookwise/gemstar devices don't recognize the "page-break-after" CSS property but only the "page-break-before" syntax.
That said, the .rb's support of CSS is more limited than the .imp's acceptance of same, so in this case, no, the CSS property for pagebreaks is NOT respected. Only a '<hr size=0>' in front (or in it's place) will produce the expected pagebreak.
I give you an example, Robin Hood (PG Etext No. 28700) converted to
Paul Creswick - Robin Hood.rb via my GuteBook program uses the 'page-break-before' CSS property by default and it doesn't work on the REB1100.
However, after editing the source files (included in the below .zip) to include <hr size=0> in front of the <h2> and <h3> tags, you can produce another
Paul Creswick - Robin Hood-hr-size-0.rb using rbmake to magically "activate" those pagebreaks within the .rb. See
rbmake-log.txt for rbmake details.
I also tried to place the CSS property 'page-break-before' inline to see if that made a difference, but it didn't with
Paul Creswick - Robin Hood-inline-pb-style.rb and neither did the .imp shortcut for page-breaks, <pb>, work for .rb files!
And there you have it!