View Single Post
Old 05-04-2019, 02:23 PM   #18
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,361
Karma: 148951763
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 odamizu View Post
Interesting. It's been a while, but the last time I tried it in <html> and <body> it didn't work for me. I had to resort to <p>. Maybe something has changed in the Kindle rendering software since then. When I get a chance, I will try again.

As for -45px, I'm sure that works, too. I just use -36px as a matter of personal preference.
-45px is only useful on a 300DPI Kindle.

I've never set a negative margin in body. I just did it in html at the top of the CSS.

Code:
html {
  margin-right: -45px;
  margin-left: -45px;
}
That does work. Nothing else need be done.
JSWolf is offline   Reply With Quote