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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-05-2013, 02:24 PM   #16
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 637
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300, PW2
Quote:
Originally Posted by JSWolf View Post
If you are concerned about the page numbers on the right side of the screen for older Readers using an older ADE, don't use @page at all. Just set the left/right margins in body like so...

body {
margin-top: 5pt;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 16pt
}
Unfortunately this will lose the top margin once each XHTML file scrolls, (as already discussed earlier in this thread). @page really is the correct place to specify device level margins, but to handle ADE page numbers I use:

@page { margin:4pt 0 3pt 0 } and
body { margin:0 6pt 0 6pt; text-align:left }
p { text-align:left }

With my text left justified left this avoids most text clashes with ADE page numbers. For me 16pt uses up too much screen space, but could be more appropriate if you are using text-align:justify, (not supported on PRS-300.)

Last edited by Agama; 04-05-2013 at 02:32 PM.
Agama 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
Hi every body 27gh32 Introduce Yourself 4 03-19-2012 09:50 AM
<body style=""> How to stop this? Danger Sigil 8 12-13-2010 08:17 PM
Mobi TOC style vs ePub style? phearlez Kindle Formats 3 04-11-2010 06:35 AM


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


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