Reply to Re: Determining the font characteristics of any web page?

Your name:

Reply:


Posted by David Dorward on 06/18/06 22:04

Peter Olcott wrote:

(Follow ups set to alt.html as its the only group in the list I read)

> What is a method or set of methods that can determine all of the font
> characteristics of any web page? By font characteristics I mean typeface
> name, point size, foreground color, background color, bold, underline, et
> cetera.

It depends on what:

* Presentational HTML is used
* Author stylesheets are set (which may be modified by JavaScript, e.g. I've
seen scripts that change the font size based on the window width)
* User stylesheets are set
* Browser default stylesheets are set (or whatever means of determining
default rendering the browser uses if not stylesheets)
* User preferences
* Fonts installed on the system displaying the page

http://www.w3.org/TR/CSS2/ describes CSS and includes a suggested browser
default stylesheet for HTML 4.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[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

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