|
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
Navigation:
[Reply to this message]
|