Line-height problem in forums and quoted messages
Posted: November 29th, 2002, 1:12 pm
A quoted part of a message within a forum has an incorrect CSS line-height setting.
To reproduce, turn off the min font-size pref (set it to None) and look at any post that includes a quote such as http://www.mozillazine.org/forums/viewtopic.php?t=1303&start=15. The text of the quoted part (inside the white box) will look normal. Now highlight that text with your mouse and everything will still look normal.
Turn on the minimum font size pref (I see the problem at 14px and higher) and go back to look at the quoted text box. When unselected, the text looks ok but a bit scrunched. Select the text and parts of the letters are lost to overlap.
This is probably the same error that is seen in the MS Knowledge Base articles (Bug something or other). Looking at http://www.mozillazine.org/forums/templates/subSilver/style.css, the problem is at
Mixing px and % for fonts is causing the breakage. On a locally saved copy, I changed 11px to 100% and the overlapping problem disappeared.
The display bug also affects when a min font size larger that 16 is set. Changing these to 100% and 150%, respectively, erased the bug at all resolutions and font size settings.
To reproduce, turn off the min font-size pref (set it to None) and look at any post that includes a quote such as http://www.mozillazine.org/forums/viewtopic.php?t=1303&start=15. The text of the quoted part (inside the white box) will look normal. Now highlight that text with your mouse and everything will still look normal.
Turn on the minimum font size pref (I see the problem at 14px and higher) and go back to look at the quoted text box. When unselected, the text looks ok but a bit scrunched. Select the text and parts of the letters are lost to overlap.
This is probably the same error that is seen in the MS Knowledge Base articles (Bug something or other). Looking at http://www.mozillazine.org/forums/templates/subSilver/style.css, the problem is at
Code: Select all
.quote {
font-size: 11px; line-height: 125%;
}
Mixing px and % for fonts is causing the breakage. On a locally saved copy, I changed 11px to 100% and the overlapping problem disappeared.
The display bug also affects
Code: Select all
.postbody { font-size : 12px; line-height: 18px}