Thread: Blank pages
View Single Post
Old 02-06-2014, 01:42 PM   #8
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
I have noticed a similar problem, I have no idea if this is due to a recent Marvin change.

In my epub I have this at top of each html file (a chapter in the epub):

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Foo</title>
<link href="LD-book3.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="chapter" id="ch01">
etc...
The chapter style is defined like this in the css:

Code:
.chapter	{
	display: block; 
	page-break-before: always;
			}
If I display this epub on my Kobo Aura HD (using Adobe RMSDK), I do not get a blank page between chapters, whereas in Marvin I do. Which one is showing the correct behaviour according to the standard?

Perhaps the Kobo reasons that there has already been a page break enforced by the new chapter (which is in its own html file) so there is no need to insert another one? Or perhaps it just blithely ignores page-break-before? If the former is correct, then is this behaviour that Marvin should implement? If this is not correct according to the standard, then the epub author needs a slap on the wrist.

Once I remove the "page-break-before: always;" from the css, both Kobo and Marvin behave as expected (no blank page between chapters).

Last edited by ShellShock; 02-06-2014 at 01:56 PM.
ShellShock is offline   Reply With Quote