Quote:
Originally Posted by ElMiko
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.