Quote:
Originally Posted by odamizu
I don't know about KFX, but for KF8, I have not found margin rules to work with <html> or <body>. Instead, I use <p> and add a media query so that it doesn't affect epub renderering engines.
Code:
@media amzn-kf8 {
p {margin-left: -36px; margin-right: -36px; }
}
Also, more specific margin-left and margin-right rules will override the above. So you need to look for and revise/delete things like:
Code:
p.para {margin-left: 0; margin-right: 0}
p.txt {margin:0}
This can get tedious.
To normalize line-height, I delete most, if not all, line-height rules to allow the Kindle to set the line-height per user settings.
|
The negative left/right margins of -45px in HTML works. I have seen it on a PW3.