Quote:
Originally Posted by nrapallo
It is good to see example coding put into practical use. Thanks for sharing this.
The next release of mobi2imp should have this 'Running Headers' feature. I wanted to lessen the impact of loosing that space at the top, so I devised a way to elimante the following <hr> and use color to differentiate the header from the text
I will implement in mobi2imp, this additional style:
Code:
<style>
header {display:none; display:oeb-page-head; oeb-column-number:1}
</style>
Then will place this code after <body>, for the header to appear:
Code:
<header>
<table border="0" cellspacing="0" width="100%">
<tr>
<td align="left" bgcolor="#B0C4DE" style="font-family:smallfont">PUT_TITLE_HERE</td>
<td align="right" bgcolor="#B0C4DE" style="font-family:smallfont">PUT_AUTHOR_HERE</td>
</tr>
</table>
</header>
Please note that by placing this AFTER <body>, the margin settings are inherited and properly displayed. The 'smallfont' use may be optional.
It adds a bit of color (grayscale for 1150 owners  ).
By the way, bgcolor="#B0C4DE" is LightSteelBlue, but I also like, bgcolor="#FFDAB9" (PeachPuff) and bgcolor="#F5DEB3" (Wheat) as being non-obtrusive.
|
I hope this will be an option. I prefer the extra screen real estate for text.
Dale