View Single Post
Old 09-21-2010, 09:40 PM   #1
gandor62
Connoisseur
gandor62 began at the beginning.
 
gandor62's Avatar
 
Posts: 99
Karma: 14
Join Date: Jun 2008
Location: Brisbane Australia
Device: iPod Touch, Ipad, Kindle 2
Is there a way to over ride CSS Margins

I have a few book converted to Epub format and was happily reading on my Ipad and Kindle, I also am using an iPod Touch with iBooks (easier to carry when out andabout) and am having difficulty with margin sizes. Half an inch margin on a iPad is OK but on a touch its half the screen.

I looked into a couple of books and can see what I assume is the CSS margin class setting but was hoping there was a simple way to correct the left margin size easily. I'm not real good manually editing HTML.

So can Calibre override the CSS or detect it and fix it.

Alternatly if I see the class and just delete it will it render the rest of the document unusable. Will it use the margins I set in calibre. Is here an easy program to use to reformat before calibre picks it up. (I have MS Word)

Such as

style/
p.sgc-2 {margin-top: 0.10in}
p.sgc-1 {font-weight: bold; margin-top: 0.15in}

Body/
<p class="western sgc-2">But the age of chivalry is gone. That of sophisters, economists, and calculators, has succeeded . . .</p>


Regards
Tony
gandor62 is offline   Reply With Quote