You are here: Re: Determining the font characteristics of any web page? « HTML « IT news, forums, messages
Re: Determining the font characteristics of any web page?

Posted by Neredbojias on 06/19/06 01:59

To further the education of mankind, "Peter Olcott" <olcott@att.net>
vouchsafed:

>>> What is a method or set of methods that can determine all of the
>>> font characteristics of any web page?
>>
>> Use CSS. Do you know what this is at this point?
>>
> I am not writing webpages I am parsing websites. I have no choice in
> how any of these websites are written.
>
>>> By font characteristics I mean typeface name, point size, foreground
>>> color, background color, bold, underline, et cetera.
>>
>> Forget about 'point size'. Points are for printing. Use percentages
>> for font sizing (discussed almost daily in these groups). Don't use
>> pixels, either, for the oft-stated reasons.
>
> I must know the point size. Imagine that I am writing a browser, and
> must display any webpage.

Display where? If in users' browsers, just keyphrase-identify all the
various valid (and some invalid) possible font-designators and copy their
attributes verbatim. However, if your process depends upon determining
each user's browser default font-size, etc., to accomplish its task, that
really isn't possible.

--
Neredbojias
Infinity has its limits.

 

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

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