Reply to Re: pixel font sizes

Your name:

Reply:


Posted by Sherm Pendley on 09/29/07 18:40

"Jukka K. Korpela" <jkorpela@cs.tut.fi> writes:

> In fact, the size
> of millimeter, inch etc. _do_ change if the monitor resolution is
> changed, but this is a different oddity.

Just to clarify that point - obviously, the real-world size of these units
does not change. What changes is the number of pixels per inch your monitor
is displaying. Sadly, many browsers(1) simply assume a 96ppi display, and
fail to adjust for reality.

So, if you specify a 1in margin (for example) in CSS, what you'll usually
get is 96px - which will only result in a 1" margin if your monitor is set
to exactly 96ppi. If your monitor is 72ppi instead, you'll get a 1.25"
margin, and at 120ppi, .75".

sherm--

(1) Mozilla is one exception - its control panel has a pane where you can
hold a ruler up to the screen to calibrate the PPI setting it uses when
translating physical units into pixels.

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

[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

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