You are here: Re: How Can I Controll Text Size on My Website? « HTML « IT news, forums, messages
Re: How Can I Controll Text Size on My Website?

Posted by Jonathan N. Little on 04/19/07 19:11

Ben C wrote:
> On 2007-04-19, Ben C <spamspam@spam.eggs> wrote:
>> On 2007-04-19, Jonathan N. Little <lws4art@centralva.net> wrote:
>>> Ben C wrote:
>>>> On 2007-04-19, Toby A Inkster <usenet200703@tobyinkster.co.uk> wrote:
>>>>> Ben C wrote:
>>>>>
>>>>>> If you must have the last word, I suppose you could render your text to
>>>>>> an image and use that.
>>>>> Such font sizes are still variable. The font will appear larger on my 17"
>>>>> desktop screen than it would on my 12" laptop screen.
>>>> In centimetres, yes, but not in pixels?
>>> Ah no, both are dependent on physical monitor size and current resolution...
>> I suppose this depends on what you mean by a pixel. A monitor might have
>> 1280x1024 pixels but the graphics card might be working to 640x512.
>> It's the graphics card pixels that CSS things are sized to, which you
>> can measure with KRuler, but not with a real ruler, or by counting
>> screen pixels while looking through a physical magnifiying glass.
>
> Sorry, rather ambiguous, I meant "nor" not "or".

When one specifies pixels in a stylesheet of course is the "apparent"
pixel on the monitor. Depending on the screen resolution the "displayed
pixel" will be made up of more than one physical phosphor (CRT bias)
pixel, it should anyway unless you have a really crappy monitor.

But my point was regardless whether you use "px", or "physical units"
like "cm" or "in" in your stylesheet the size of the element on the
screen when you slap a ruler to it will vary depending on the monitor
and the user resolution settings. The "physical units", cm, in, pt,
ft... only make sense when you are printing the page.



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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