Quote:
Originally Posted by JSWolf
At the very top of the CSS, put the following code. The line break-inside is there because of some bug in some firmware.
Code:
htm
margin-right: -45px;
margin-left: -45px;
break-inside: avoid !important;
}
|
Since I like reading epub and keeping one copy of the ebook around, I wrap the margin setting in a media query. This works quite well since most renderers that don't understand media queries will disregard this entry entirely. Without the wrapper, I have had to play with the margins when using a renderer that disregards media queries or in Jon's code's case, doesn't get presented with the opportunity to disregards the margin settings.
Code:
@media amzn-kf8 {
html {
margin-left: -50px;
margin-right: -50px;
}
}