View Single Post
Old 04-08-2010, 05:36 AM   #71
franklekens
Addict
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 391
Karma: 3421956
Join Date: Sep 2009
Device: Kobo Forma, Sage, Elipsa, Onyx Note2, Pocketbook 360, Kindle Keyboard
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.
franklekens is offline   Reply With Quote