View Single Post
Old 10-18-2011, 11:52 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Question calibre to epub to sony reader - neat margins

could someone please explain what exacly goes into creating the optimised left & right page margins that I see on sony reade, with converted epubs please.

I ask because calibre does something to badly formatted epubs, that improves the visual appearance, yet all I can see added to epub code is the @page line in each xhtml file, but that only specifies top & bottom margin, not left & right.
( also it renames CSS entries to calibre1, calibre2 etc which obscures what other changes it may have made )

I know that if I have a poorly formatted epub where the L/R margins are either too wide or are completely missing ( i.e. where text runs right up to bevel on reader), then an epub-to-epub convert will fix it -

so I tried to fix one manually yesterday, & could not see how to do it within CSS. eventually I gave up & reconverted it & now it is fine.

so what exactly does calibre do to reset L & R margins please
cybmole is offline   Reply With Quote