View Single Post
Old 01-20-2019, 02:44 PM   #12
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,154
Karma: 148951761
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 ElMiko View Post
So, if I absolutely have to rely on <p> for consistently displaying the desired line-break characteristics, obviously that's the way to go! But I am curious as to why <br /> code should be problematic. Has it been deprecated? I confess that I'm "self-educated" on html, which means there are huge gaps in my knowledge and probably several aspects that I THINK I understand, but actually don't (like, assigning the "em" unit to line-height, for example!).
I strip out all line-height except where needed and in most eBooks, it's not needed. So out if goes.

As for <br/>, I prefer to deal with line spacing in CSS and not use them in that manor. Yes, <br/> works for breaking a line in two. But for using it to add a line space, forget it. It's a kludge and poor coding. Also, it's more difficult if you want ot change the spacing. You have to then dump the <br/> and put in the SS code that should have been there in the first place.


As for em, there's no reason not to use it as it's scalable unlike px or pt.
JSWolf is offline   Reply With Quote