467,074 Members | 938 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

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.mozilla.org/show_bug.cgi?id=196270").

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

John Nagle
Feb 19 '08 #1
  • viewed: 3916
Share:
1 Reply
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.
Feb 20 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Adi | last post: by
6 posts views Thread by magix | last post: by
14 posts views Thread by WStoreyII | last post: by
11 posts views Thread by xdevel | last post: by
19 posts views Thread by =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.