View Single Post
Old 04-08-2010, 06:02 AM   #72
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by franklekens View Post
I'm not sure it has to do with <br> or anything like that. I haven't looked into the html code of the files to see what causes this.

But here is one. The following styles are defined for the text in the css:

.normal1
{
font-family:"Times New Roman", serif;
font-size:small;
margin-top:1em;
margin-bottom:0em;
margin-left: 0em;
text-align:justify;
text-indent:0em;
}
.bodytext
{
font-family:"Times New Roman", serif;
font-size:small;
margin-top:0em;
margin-bottom:0em;
text-align:justify;
text-indent:1.5em;
}

So most paragraphs are marked <p class="bodytext">. They run on without blank lines and are indented.

Then when there's a blank line, there's no <br>, but the first paragraph of the next section is marked <p class="normal1">. The subsequent paragraphs are "bodytext" again.

In ADE on my computer, this makes the text show up as intended (with a blank line above the paragraphs that's marked "normal1"). On my Pocketbook, there is no blank line, *and* the "normal1" paragraph is indented, though it obviously shouldn't be.

FBReader on my computer, however, does display the text correctly.
All right, that does only mean that the style tag margin-top is ignored. But the problem is a lot more general. Every kind of blank space between paragraphs is blissfully ignored, especially if there is a space between paragraphs only sporadically.
mtravellerh is offline   Reply With Quote