View Single Post
Old 01-19-2015, 11:41 AM   #13
kentmatt
Member
kentmatt doesn't litterkentmatt doesn't litter
 
Posts: 22
Karma: 116
Join Date: Jul 2010
Device: none
Quote:
Originally Posted by EbokJunkie View Post
@theducks
This works for Kindle Keyboard but not for Paperwhite.
I have a solutions and do negative margins for all my epub->azw3 conversions
What version of firmware on the Paperwhite do you have? I've experimented with negative margins, and my FW 5.6 Paperwhite seems to completely ignore them.

I went so far as to create a simple html 'book' and convert it with Calibre, where I tweaked it. I started with just trying to do the body tag, but that didn't work - so I did everything - still no luck. The CSS looks like this:

@namespace h "http://www.w3.org/1999/xhtml";

//this the body
.calibre {
display: block;
font-size: 1em;
line-height: 1.2;
padding-left: 0;
padding-right: 0;
margin: 0 -20px;
}

//heading1
.calibre1 {
display: block;
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
text-align: center;
margin: 0.5em -20px;
}

//heading 4
.calibre2 {
display: block;
font-weight: bold;
text-align: center;
margin: 1em -20px 0.1em -20px;
}

//heading3
.calibre3 {
display: block;
font-size: 1.125em;
font-weight: bold;
line-height: 1.2;
text-align: center;
margin: 2em -20px;
}

//paragraphs
.calibre4 {
display: block;
text-align: left;
text-indent: 1.2em;
margin: 0, -20px;
}
kentmatt is offline   Reply With Quote