View Single Post
Old 07-31-2022, 01:48 PM   #26
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,070
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
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;
  }
}
I wonder if your media query will work for ePub emailed to Amazon.
JSWolf is offline   Reply With Quote