Here's how to do running headers in IMP books, entirely with HTML:
1. Add this to the <STYLE> section in the <HEAD> element:
Code:
.header {display:none; display:oeb-page-head; margin-left:2.0em; margin-right:2.0em}
.headleft {height:3.0ex; vertical-align:top; text-align:left; font-family:smallfont}
.headright {height:3.0ex; vertical-align:top; text-align:right; font-family:smallfont}
2. Add this text on the page where you want the running header to start -- i.e., if you have a title page, put this after the <HR> that ends the title page:
Code:
<!-- Running Header -->
<table class="header" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="headleft">book title</td>
<td class="headright">book author</td>
</tr>
<tr>
<td colspan="2" height="10"><hr /></td>
</tr>
</table>
This is (almost) straight out of the Gemstar OEB Formatting guide. Note that you could do almost anything instead of this rather plain header. Any block-level element (table, div, P, etc.) that has the style
display:oeb-page-head can be your running header.
Cool, huh?
My apologies if this is already well known. I just couldn't find it explicitly mentioned anywhere, and the mobi2imp thread explicitly says that running headers aren't implemented. Maybe it could be incorporated into the perl script?