![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Running headers
Is there a way to have running headers in ePub? I can't find any thread on it.
I seem to remember that that Cybook Gen3 did that, but I think it was a function of the hardware. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
there is a way. It is in the idpf specification for ePub. It would look something like:
Code:
<div class="myhead" style="display: oeb-page-head"> The OEB Publication Structure: Introduction </div> Dale |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Thanks, DaleDe, that's helpful.
Could you go one step further and tell me what goes in the class myhead? I presume there's a myhead entry in the the stylesheet? Regards, Alex |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The only important property is "display: oeb-page-head", which turns whatever it applies to into a header. DaleDe put it in-line, but it could have gone into the "myhead" definition.
That's the theory. But I know of no reader that makes anything with that, and worse, ADE just places the content inline as if it were normal text. (The Gen3 headers is just a hardcoded function, and it's only the book title, cannot be changed.) |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Thanks to you both.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing Headers - yet again | jjansen | Calibre | 1 | 02-18-2010 05:24 PM |
ePub Headers | Timoleon | ePub | 20 | 07-29-2009 12:04 PM |
Cut off Headers | barney111 | Bookeen | 9 | 07-25-2008 04:15 AM |
iLiad using liberXXX headers. | arivero | iRex Developer's Corner | 1 | 10-26-2006 12:20 PM |