View Single Post
Old 02-17-2015, 07:53 AM   #1
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
FBReader ignores margin-top

I'm using FBReader version 2.2.7 on my MB501 Android phone, running Android 2.3.7 (the latest version it will run).

I notice that it does not seem to honour "margin-top" CSS in ePubs.
I use this style:

Code:
.noindent {
display: block;
text-indent: 0;
margin-top: 2em;
}
This is intended to put approx 2 line spaces above the para starting a subsection. This displays in Calibre and Sigil, for instance, on Windows. But in FBreader it has no extra space above. It does have no indent, so the style is not being completely ignored.

Is this a bug in FBreader or my styles?

Do I actually have to use nbsp paragraphs to make space between paras reliably?
AlanHK is offline   Reply With Quote