|
Posted by Steve Pugh on 01/26/07 12:36
On Jan 26, 11:01 am, "JH" <jhuitsN...@hotmail.com> wrote:
> Can someone explain why Opera renders the following with a different font
> size than either Firefox or IE:
>
> <p style="font-family: 'Trebuchet MS';">Hi</p>
> <p style="font-family: 'Trebuchet MS'; font-size: 80%;">Hi</p>
>
> The 80% is smaller in Opera than in IE6 or Firefox. I have the latest
> version of Opera.
In my Opera both lines are very different to what IE show, but then I
have different defaults in Opera than I do in IE.
Anyway, Opera always rounds _down_ to the whole pixel. So, if 80% was
12.9 pixels then IE and FF would show the text as 13 pixels and Opera
would show it as 12 pixels. I reported this a bug years and several
versions ago but no fix yet. :-(
> How can I fix this using all % fonts.
I wouldn't worry about it. You're going to get much bigger differences
for people with different default sizes, minimum sizes, etc.
Steve
[Back to original message]
|