Profile for dolin

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Recent posts

AuthorRecent posts
html coding question about fonts in General
Apprentice
Member # 1947
Profile #6
If you specify a special font via CSS, you can use a certain, server-stored font. However, you have to use two types of font file, "eot" and "pfr", as some browser interpret one format, others the other one. To get infos on how to make such font files out of existing fonts, you have to consult http://www.truedoc.com/ - they provide some free fonts, but their website is badly programmed so that even browsers supporting their technology don't show it properly - and Microsoft's WEFT-page.
The syntax in CSS is:
code:<style type="text/css">
@font-face { font-family:Whatsitsname; src:url (folder/whatsitsname.eot), url(folder/whatsitsname.pfr); }
</style> [/code]Then, you can use this font via CSS-formatting normally. However, you should give people an alternative because some browsers do not support supplied fonts, and others even have problems mit CSS 2.0 .
Example for CSS-formatting in the header or a separate style sheet:
code:p { font-family:Whatsitsname,Times,serif; }[/code]This gives all <p>-Tags the font Whatsitsname; if it isn't available, it uses Times and, as a last resort, the font the browser uses for any "serif"-font (e.g. Times, Garamond, Baskerville, ...)
For more details, consult any help on CSS 2.0.

--------------------
Plus ultra - Carolus Quintus
Posts: 8 | Registered: Thursday, September 26 2002 07:00