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 Beauregard T. Shagnasty on 06/18/06 16:29

In alt.html, Peter Olcott wrote:

I don't know where you are reading this, so I left the massive
cross-posting intact.

> 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?

> 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.

body {
background-color: #f5f5f5;
font-family: sans-serif;
font-size: 100%;
color: #000000;
}

For bold text:
This is <strong>bold text</strong> in most browsers. This is
<u>underlined</u> in most browsers, though you shouldn't use it because
people will think it is a link. <em>Emphasized text</em> may be a better
choice.

> I am a visual C++ programmer, and will be learning .NET very soon, so
> if there is a simplified way using either of these tools, I would
> prefer this simpler way.

It is a very simple task to add a link in the <head> of the document to
a style sheet that will work for the entire web site.

--
-bts
-Warning: I brake for lawn deer

 

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

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