At 11:15 +0200 06.06.2005, Bruno Fassino wrote:
Ellen Herzfeld wrote:
 > together. The line-height was set with raw
 numbers. If I set it to the same value in ems,
 the discrepancy mostly disappeared. So I did a
 bit of experimenting here:
 http://ansible.xlii.org/web_design/CSS/line-height.html
[...]
 Any thoughts?

[...]
To summarize:  In my opinion the differences are due to different roundings
algorithms. What is unfortunate is that the same browser apply different
roundings depending on the unit used to expressed the line-height, I don't
see any reason for this.

Bruno


[1] https://bugzilla.mozilla.org/show_bug.cgi?id=196270


Ah, Bruno, you break my heart... Here I thought I had found a way to make my page look the same in all browsers :-)

Nevertheless, since my prefered browser is Firefox, I'm glad to have found a way to avoid the discrepancy which seems to be just a bug in Gecko. So, for now, I think I'll use ems for line-height anyway to get Gecko and Safari to look more alike, and more like IE too... Another reason is that I recently discovered Xyle scope, which uses the KHTML engine. It knocked my socks off, which is a rare occurence these days.

Ellen
--
Quarante-Deux : quelques pages sur la Science-Fiction
Ellen C. Herzfeld - Dominique O. Martel
http://www.quarante-deux.org/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to