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 06-08-2013, 12:57 PM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,979
Karma: 2107871
Join Date: Jan 2009
Device: Kobo Glo - 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.
Attached Thumbnails
Click image for larger version

Name:	border.png
Views:	135
Size:	81.6 KB
ID:	106776  

Last edited by roger64; 06-08-2013 at 02:07 PM.
roger64 is offline   Reply With Quote
Old 06-08-2013, 02:00 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 19,810
Karma: 19044546
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by roger64 View Post
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?
Is the border concept even valid on any but the shortest pages (those that fit a single screen)
theducks is offline   Reply With Quote
 
Advertisement
Old 06-08-2013, 02:22 PM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,997
Karma: 8796439
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?
Jellby is offline   Reply With Quote
Old 06-08-2013, 02:32 PM   #4
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1771606
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.
exaltedwombat is offline   Reply With Quote
Old 06-08-2013, 06:05 PM   #5
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,979
Karma: 2107871
Join Date: Jan 2009
Device: Kobo Glo - Kindle PW3 (wifi)
Quote:
Originally Posted by theducks View Post
Is the border concept even valid on any but the shortest pages (those that fit a single screen)
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 06:13 PM.
roger64 is offline   Reply With Quote
Old 06-08-2013, 06:10 PM   #6
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,979
Karma: 2107871
Join Date: Jan 2009
Device: Kobo Glo - Kindle PW3 (wifi)
Quote:
Originally Posted by exaltedwombat View Post
If you want a fascimile, and you know what size screen the book will be read on - use pdf..
I wil also produce two PDF from the EPUB, a six and a 9.7 inches.
roger64 is offline   Reply With Quote
Old 06-08-2013, 06:28 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 45,395
Karma: 32620988
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by Jellby View Post
I think only margins are allowed in the @page rule, but who knows what a reader might do with it?
All @page will do is set margins and then the boarder will use those margins on the outside. So in this case, @page isn't really appropriate.
JSWolf is offline   Reply With Quote
Old 06-08-2013, 07:43 PM   #8
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1771606
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by roger64 View Post
I wil also produce two PDF from the EPUB, a six and a 9.7 inches.
Why? Having formatted it as an epub, what's the advantage of a pdf?
exaltedwombat is offline   Reply With Quote
Old 06-09-2013, 02:59 AM   #9
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,979
Karma: 2107871
Join Date: Jan 2009
Device: Kobo Glo - Kindle PW3 (wifi)
Quote:
Originally Posted by exaltedwombat View Post
Why? Having formatted it as an epub, what's the advantage of a pdf?
- To follow your advice

- 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 04:31 AM.
roger64 is offline   Reply With Quote
Old 06-09-2013, 03:06 AM   #10
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,979
Karma: 2107871
Join Date: Jan 2009
Device: Kobo Glo - Kindle PW3 (wifi)
Quote:
Originally Posted by JSWolf View Post
All @page will do is set margins and then the boarder will use those margins on the outside. So in this case, @page isn't really appropriate.
Yes, I should have to make do with body borders... It does not look very convenient.
roger64 is offline   Reply With Quote
Old 06-09-2013, 03:58 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,997
Karma: 8796439
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by roger64 View Post
- To follow your advice

- 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...)
- For printing.

- For reading when no decent ePub reader is available.

- For better typesetting, provided the PDF generator is capable of that (and Prince is).
Jellby is offline   Reply With Quote
Old 06-09-2013, 04:26 AM   #12
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,979
Karma: 2107871
Join Date: Jan 2009
Device: Kobo Glo - Kindle PW3 (wifi)
Quote:
Originally Posted by Jellby View Post
- For printing.

- For reading when no decent ePub reader is available.

- For better typesetting, provided the PDF generator is capable of that (and Prince is).
Yes, thank you

Here is the latest illustrated example (this morning).

Last edited by roger64; 06-09-2013 at 04:29 AM.
roger64 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
PRS-700 Text border margins Intri Sony Reader 2 11-17-2010 05:01 AM
Border dixieknits Ectaco jetBook 6 09-13-2010 12:02 PM
Classic Border books on Nook? jncrft Barnes & Noble NOOK 4 07-13-2010 06:12 PM
Border eBooks on Kindle? IntegrityWolf Amazon Kindle 2 05-03-2010 03:55 PM
Using a Border's gift card jv5775 General Discussions 9 04-02-2010 08:47 PM


All times are GMT -4. The time now is 08:01 AM.


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