View Single Post
Old 11-07-2009, 09:52 AM   #8
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
What defines a chapter?

Page-breaks are generally handled by the CSS (page-break-before).


Edit:

So, I got curios and it looks nice and is fast!

But, I noticed two things.

1. I got two Freda icons in my program files...
2. It completely ignores my CSS.

I do like to know when a chapter starts, so I added a space above my chapter (margin-top or padding-top, I'd have to check). I also added a space between my chapter number and chapter name and a space between my chapter name and the actual text (see below).

Code:
Chapter 1

Chapter Name


This is the first paragraph.
  And this is the second paragraph.
I get this as follows:

Code:
 Chapter 1
Chapter Name
This is the first paragraph.
And this is the second paragraph.
The CSS is rather important to me, as I added some extra's in there to make the epub readable (like margins and full justification, which it completely ignores). It also completely ignores my center justification.

Add those, and you've a really nice, light, ereader application for epubs!

Last edited by Sweetpea; 11-07-2009 at 10:15 AM.
Sweetpea is offline   Reply With Quote