View Single Post
Old 10-17-2015, 06:05 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: 79,965
Karma: 147448039
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 theducks View Post
Blanket removal (of anything) is almost always a poor choice (right up there with blanket Applying to every CSS class )

There are a few cases where retaining a line-height might be desired for a cleaner look.

Lines with multiple font sizes (Big or Drop letters, sub/sup, smallcaps)
Line spacing when split with a Br
Code:
<h2 class="ch">Chapter <br /> 2</h2>
This is true. One place you do not want to remove the [b]line-height[/i] is when the first letter of a paragraph is larger then the rest of the body text. a [b]line-height[/i] of 0 should be used there to keep the entire line from moving up from the rest of the paragraph.

There could be other places, but not many (IMHO). I've removed most [b]line-height[/i] from the CSS with no detrimental effect.
JSWolf is online now   Reply With Quote