Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Reading and Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2013, 06:50 PM   #1
zs55
Junior Member
zs55 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2013
Device: Huawei Ideos S7 Slim
Margin bottom, top problem on tablet

In the sigil preview and calibre viewer and other windows e-book readers the margin-top and margin-bottom work fine for headers and paragraphs but when i use the epub on my tablet in fbreader there are no margins for headers and paragraphs at all.

I tried with different margin-bottom, margin-top values, none worked on the tablet. I don't understand.

Code:
.calibre5 {
    display: block;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1em;
    text-align: center;
    text-indent: 0;
    }
Code:
 <h3 class="calibre5" id="sigil_toc_id_1" title="1. INDULÁSOK ÉS ÉRKEZÉSEK"><span class="calibre3"><span><span class="calibre4">INDULÁSOK ÉS ÉRKEZÉSEK</span></span></span></h3>

    <p class="calibre2"><span class="calibre3"><span><span class="calibre4">Eugene Skinner őrmester baljós tekintettel nézett végig a díszőrségként kivezényelt osztagon. Néhány percen belül egy tábornoknak kell keresztüljönnie a Csillagkapun, hogy ellenőrizze az Abydoson állomásozó haderőt. Az első katonai egység, amellyel találkozik, Skinner tizenhárom embere lesz.</span></span></span></p>
zs55 is offline   Reply With Quote
Old 05-14-2013, 07:57 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,630
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
zs55
Your tablet (reader) is probably set to override the documents settings.
theducks is offline   Reply With Quote
Old 05-14-2013, 08:11 PM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,615
Karma: 5071748
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
More likely, FBReader does not support CSS very well. Don't expect FBReader to honor things it does not understand.

Dale
DaleDe is offline   Reply With Quote
Old 05-14-2013, 09:37 PM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,615
Karma: 5071748
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Moderator Notice
This is clearly not a Sigil problem. Moving this thread.
DaleDe is offline   Reply With Quote
Old 05-15-2013, 04:38 AM   #5
zs55
Junior Member
zs55 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2013
Device: Huawei Ideos S7 Slim
But with other epubs the top, bottom margins work fine (mostly) in fbreader. I don't understand.

Should i just use &nbsp if i want line space then?
zs55 is offline   Reply With Quote
Old 05-15-2013, 02:59 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,037
Karma: 18129756
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Since your tablet runs some version of Android, I suggest you try Bluefire Reader and Aldiko and see which one you like best. I know Bluefire is based on the ADE SDK and I have used it on my iPad & I do use it on my iPhone.

FBReader is a poor choice for ePub.
JSWolf is offline   Reply With Quote
Old 05-23-2013, 06:11 AM   #7
zs55
Junior Member
zs55 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2013
Device: Huawei Ideos S7 Slim
double

Last edited by zs55; 05-23-2013 at 06:21 AM.
zs55 is offline   Reply With Quote
Old 05-23-2013, 06:20 AM   #8
zs55
Junior Member
zs55 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2013
Device: Huawei Ideos S7 Slim
Ok, i could solve it in the FBReader options.

In Settings i changed these to:

Text -> More styles -> Regular paragraph:

- Space before: 8
- Space after: 8
- First line indent: 20

Margins:

- left: 32
- right: 32
- top: 25
- bottom: 25

CSS:

- uncheck Font size

Fonts:

- I created a /sdcard/Fonts/ directory and copied Adobe Caslon Pro font into it.
- Set Adobe Caslon Pro font in settings

Now it looks like this:

zs55 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ODT to EPUB: margin-top and -bottom in tables beedaddy Conversion 0 05-25-2012 05:05 AM
margin top, bottom, additive or not ? cybmole Conversion 5 02-16-2011 12:33 PM
anyway to change Kindle top/bottom margin? cdpango Kindle Developer's Corner 2 11-28-2010 08:20 PM
little issue converting from odt to epub (top and bottom margin) superanima Calibre 1 02-15-2010 04:15 PM
calibre ignore margin-top and margin-bottom bender Calibre 2 12-11-2009 06:58 AM


All times are GMT -4. The time now is 08:15 PM.


MobileRead.com is a privately owned, operated and funded community.