You are here: Re: Fonts and « PHP Programming Language « IT news, forums, messages
Re: Fonts and

Posted by David Haynes on 12/09/90 11:50

ctclibby wrote:
> Hi all
>
> Have a customer that wants a specific font included in her web page
> design; Comic Sans MS. This is one of the MS core fonts. The problem
> I have is that some of the *nix browsers do NOT include these fonts by
> default.
>
> http://www.diamondvet.com/test renders those fonts correctly using an
> XP box. After I installed those fonts on my machine, firefox and
> mozilla both rendered them correctly. So here is the question:
>
> How do I get whatever surfer to download the proper font file? Sure,
> it can be an option given to the surfer, but how can I find out what
> fonts are available, then show the surfer a message or something? Is
> this an automagic thing? Am I going about this all wrong?
>
> Thanks in advance.
>
> todh

Not really a PHP question, but in the interest of avoiding a MAC truck...

You want to support a font-family. This tells the browser to look at an
ordered set of fonts and to use the first one it finds for the page.

You'll often see something like:
sans-serif: Comic Sans MS, Tahoma, Verdana, Arial, Helvetica

which says 'look for Comic Sans MS, then Tahoma, then Verdana, then
Arial, and finally Helvetica'.

A introduction to CSS will discuss this in more detail.

Some people put a tag line near the bottom of the page saying something
like "This page looks best when rendered using Comic Sans MS. Get it
here" but that is no guarantee that they will do that.

If you absolutely have to use Comic Sans MS, you will probably have to
send pre-rendered images of the text (ugly!).

-david-

 

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

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