View Single Post
Old 01-12-2020, 02:32 PM   #20
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,059
Karma: 147977995
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 deback View Post
Yup, that will also work, but it's always good to know all your options, so it's not "a long way around for a shortcut." I already mentioned changing the <body> class in a prior post.

The problem with your method is this: You are editing the <body> class AND the two paragraph classes. So, your method involves three edits and my method involves only two edits (which is actually the easiest and quickest way to do it). Either way, the result is the same. I happen to prefer the quicker method by changing two "left" words to two "justify" words. And I use a macro to add this: text-align: justify; So, how can making only two edits be "a long way around" compared to making three edits? Think about it...

I also have a macro (plus many more) that does the following (which I use often): margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; text-align: justify; text-indent: 1.2em; I just highlight all lines in the CSS file for the paragraph class and hit the macro hotkey to copy over whatever is listed in that class.
Actually, your way is not always the easiest. There are sometimes other classes that go with <p> that are not the standard paragraph or noindent paragraph. Especially when doing offset text because the publishers do not feel that using a <blockquote> is a good idea when it's the best idea.

Doing it my way, you don't have to deal with an unknown amount of <p> classes. You just set up the justify in body, dump any left justification and your done.
JSWolf is online now   Reply With Quote