Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
userstyle.css and epub margins tselling Sony Reader Dev Corner 8 10-28-2010 01:51 PM
ePub margins : @page vs stylesheet.css Agama Calibre 1 08-16-2010 04:37 PM
css override code for margins? Amalthia Calibre 15 08-11-2009 07:20 PM
10 Bikes One Should Never Ride daffy4u Lounge 1 12-01-2008 08:40 PM
Google Ride Finder doctorow Lounge 2 04-17-2005 12:48 AM


All times are GMT -4. The time now is 10:19 PM.


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