View Full Version : Header Support with oeb-page-head Tag Working/Examples?

12-22-2010, 07:02 PM
I am a Sony Reader user, and have been unable to create an ePUB with headers using the oeb-page-head tag. At least one that appears in the Reader Library application.

I have tried two examples.

<div class="myhead" style="display: oeb-page-head">
The OEB Publication Structure: Introduction

I created an ePUB that passed epubcheck, but did not display a header on each page.


<style type="text/css">
header {display:none; display:oeb-page-head}



<table border="0" width="100%">
<td align="left"><small>PUT_TITLE_HERE</small></td>
<td align="right"><small>PUT_AUTHOR_HERE</small></td>



This seems like the more desirable solution, but it fails epubcheck and completely destroys the page I put the header on... I get a header, but nothing else on the page, until the next xml document.

I am exceptionally inexperienced with ePUB, so I'm wondering if anyone has an ePUB already functioning with the oeb-page-head tag. (There is a workaround to get headers on the Sony Readers, but I'd rather use an ePUB tag).


12-23-2010, 05:31 AM
I know of no ePUB reader that supports oeb-page-head (or foot), although it would be the proper way to create running headers.

But, anyway, if you are using a class, you need not specify a style, i.e., you should do:

<div class="myhead">
The OEB Publication Structure: Introduction

and, in the CSS:

div.myhead { display: oeb-page-head }

(but it won't work, as I said).