06-08-2013, 11:57 AM | #1 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
page border
Hi
I am about to begin work on an old book which has a thin double border around all its pages. (see screenshot). I'd like to replicate this without wasting too much space if possible. Inside this border, I will of course insert images, text, well, everything. Would some @page in the style-sheet with border attributes be OK for this task or is there a better solution? EDIT After looking at W3School, it seems that body { border-style:double border-width:3px; border-color: (...); } will do the trick. I can add margin outside and padding inside. Last edited by roger64; 06-08-2013 at 01:07 PM. |
06-08-2013, 01:00 PM | #2 | |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
06-08-2013, 01:22 PM | #3 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I think only margins are allowed in the @page rule, but who knows what a reader might do with it?
|
06-08-2013, 01:32 PM | #4 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
If you want a fascimile, and you know what size screen the book will be read on - use pdf.
Otherwise, you're missing the point of an ebook. It's about pouring text into a container. You don't get to control the size or aspect ratio. You don't even get to choose font style or size. It's not about controlling page layout, except in a few very basic ways. |
06-08-2013, 05:05 PM | #5 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I am not sure about the body solution above. The problem is that the double border will expand with the text. But, if I fill only a half-page (end of chapter for example), the border will divide the page in two contrary to what we have for printed books. This will not look very nice. I'd like to have the same kind of border for all the pages, or at least for the pages using the same class.
Last edited by roger64; 06-08-2013 at 05:13 PM. |
06-08-2013, 05:10 PM | #6 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
|
06-08-2013, 05:28 PM | #7 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-08-2013, 06:43 PM | #8 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
|
06-09-2013, 01:59 AM | #9 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
- Some people use still old readers (ADE 1.7 generation, iBooks) who do not display nnbsp I use consistently in my non-commercial e-books. - Some others may struggle with the display of embedded fonts because (put here 1234 different reasons...) A PDF edition may sometimes help, provided of course it's using a size compatible reader... It's just a plus. And 6 and 9.7 inches are just popular formats. Last edited by roger64; 06-09-2013 at 03:31 AM. |
|
06-09-2013, 02:06 AM | #10 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
|
06-09-2013, 02:58 AM | #11 | |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
- For reading when no decent ePub reader is available. - For better typesetting, provided the PDF generator is capable of that (and Prince is). |
|
06-09-2013, 03:26 AM | #12 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Here is the latest illustrated example (this morning). Last edited by roger64; 06-09-2013 at 03:29 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-700 Text border margins | Intri | Sony Reader | 2 | 11-17-2010 04:01 AM |
Border | dixieknits | Ectaco jetBook | 6 | 09-13-2010 11:02 AM |
Classic Border books on Nook? | jncrft | Barnes & Noble NOOK | 4 | 07-13-2010 05:12 PM |
Border eBooks on Kindle? | IntegrityWolf | Amazon Kindle | 2 | 05-03-2010 02:55 PM |
Using a Border's gift card | jv5775 | General Discussions | 9 | 04-02-2010 07:47 PM |