You are here: Re: How can I get font-size to remain constant in Firefox? « HTML « IT news, forums, messages
Re: How can I get font-size to remain constant in Firefox?

Posted by Andy Dingley on 04/03/06 13:06

Stan McCann wrote:
> Norman Swartz <swartz@sfu.ca> wrote in
> news:Xns97987A98B280Dswartzsfuca@64.59.144.76:
> > In IE, when one clicks on the font-size selector icon and chooses
> > a display size (e.g. "smallest" or "largest"), the on-screen text
> > remains exactly at 16 points.
>
> Due to a bug in IE. The user *should* be able to increase/decrease
> font size as needed.

(For once) this isn't an IE bug. It isn't a requirement to be able to
scale a physical dimension (points, pixels, inches) because the
stylesheet already sets this. Of course the desktop needs some degree
of one-off configurability to match the physical size of the screen to
what an "inch" represents. Windows and IE happen to break this quite
badly for font-sizing, but that's a separate bug.

In practice though, legions of ignorant web developers mis-used this
feature so badly that Firefox has applied a hack on the basis of the
lesser of two evils. FF now allows scaling of font sizes, even when
specified in absolute units. This isn't incorrect (it's not forbidden
anywhere) but nor is it a recommended behaviour, according to a purist
readindg of the standards.

 

Navigation:

[Reply to this 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

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