View Single Post
Old 01-04-2015, 11:52 AM   #5
EbokJunkie
Addict
EbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blue
 
Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
Quote:
Originally Posted by kovidgoyal View Post
decrease page margins in the page layout section and set the margins/padding for the html elements in your template to zero
Thanks, I tried as I could
Code:
<div style="font-size:x-small;" >
<span class="even_page">
<p style="float:left;margin-top:0px;margin-bottom:0px;
padding-top:0px;padding-bottom:0px;border-width:0px;" >_AUTHOR_</p>
<p style="float:right;margin-top:0px;margin-bottom:0px;
padding-top:0px;padding-bottom:0px;border-width:0px;">_TITLE_</p> 
</div>
<div style="font-size:x-small;" >
<span class="odd_page">
<p style="float:left;margin-top:0px;margin-bottom:0px;
padding-top:0px;padding-bottom:0px;border-width:0px;">_SECTION_</p>
<p style="float:right;margin-top:0px;margin-bottom:0px;
padding-top:0px;padding-bottom:0px;border-width:0px;">_PAGENUM_</p> 
</div>
<hr width="100%">
but result is not very satisfactory (see attached).

The header itself is more compact but the gap between header and text is even more distinctive. I'm out of ideas how to fill it.
Attached Thumbnails
Click image for larger version

Name:	zero_html_margins.png
Views:	411
Size:	57.2 KB
ID:	133293  

Last edited by EbokJunkie; 01-04-2015 at 12:32 PM.
EbokJunkie is offline   Reply With Quote