Reply to Re: font-size and Opera

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация