View Single Post
Old 05-04-2019, 03:47 PM   #21
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: 79,886
Karma: 146918083
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
Yes, I just tried it and it's working for me now. Not sure why it didn't when I first started messing with negative margins a few years ago.

However, if the book has left/right margins set at a higher level in the CSS cascade (e.g., <p>), then don't those need to be deleted? Otherwise, wouldn't the <p> margins override the <html> margins?
No idea why it didn't work. But at least it works now.

As for margins in <p>, I make sure there are no margins and I use a plain <p>. I edit out the <p="someuselessclass"> and make it just <p>. it's very easy to do this. Then for every class that has a center, I make sure there is a text-indent of 0.
JSWolf is online now   Reply With Quote