Quote:
Originally Posted by nabsltd
Sounds very familiar, although I have found that I need to actually look at the line-height values to see if I should keep them. An example is that in most readers, a larger-font for the first letter in a paragraph (initial cap) will cause the line height to expand and leave a lower margin that is too large. This can be fixed by applying line-height: 1; to the span.
But, since any value less than the actual computed line height will end up with the correct display, I have seen all values from zero to one, using both bare numbers and percentages. I couldn't come up with a regex that kept those while destroying things like line-height: 1.5;, so I fix them manually.
|
Yeah, I meant line-height in the body text, not special cases. Those I leave alone.