Quote:
Originally Posted by lumpynose
After my confusion yesterday about inheritance I did some reading on that and also did some experimentation.
With the Kindle Oasis I could only get the margins reduced by adding some css to the html tag, not the body tag. I only needed -1em to get it fairly close; -2em went too far. So at the bottom of the last linked css file I had
Code:
html {
margin-left: -1em;
}
All of my Kindle books are AZW3, converted from EPUB by Calibre. Since I have the checkboxes selected as I stated above the css generated by Calibre doesn't put any margin on the p tags (i.e., sets it to 0).
|
Negative margins don't work in <body>. They never have.
After your conversion is when you put in the negative margins in html using the Calibre editor and you have to do so in the main CSS. It's actually really easy. Calibre's conversion doesn't support negative margins so don't even try to figure out how to do it during a conversion.