Line-height too large issues - still a problem in Firefox?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Nagle

    #1

    Line-height too large issues - still a problem in Firefox?

    I'm having problems with excessive line spacing in FireFox. This
    seems to happen when "line-height" is set to "normal" when a large
    font is in effect, then there's a font change to a smaller font in
    HTML at a lower level. It looks like line height gets "stuck" at the
    value in effect in the outer block. DOM inspector shows the line height
    as "normal" on the small text, but the line spacing renders too big.

    This is with Firefox 2, so it shouldn't be the old Firefox
    line height bug ("https://bugzilla.mozill a.org/show_bug.cgi?id =196270").

    (This is a Greasemonkey application, so only Firefox really matters.)

    John Nagle
  • Andy Dingley

    #2
    Re: Line-height too large issues - still a problem in Firefox?

    On 19 Feb, 21:47, John Nagle <na...@animats. comwrote:
    I'm having problems with excessive line spacing in FireFox. This
    seems to happen when "line-height" is set to "normal" when a large
    font is in effect, then there's a font change to a smaller font in
    HTML at a lower level. It looks like line height gets "stuck" at the
    value in effect in the outer block.
    What units are you using to set line-height? This behaviour is
    deliberately like this _if_ you specify units. So for most purposes,
    line-height ought to be set with a dimensionless number instead.

    Comment

    Working...