On May 12, 2006, at 10:08 AM, [EMAIL PROTECTED] wrote:

> Is there a way to incorporate non-traditional fonts onto a page on a
> hosted site?  Say for instance, Automatica or Fusion?
>
> the CSS stylesheet entry would be something like:
>
> .automatica { font-family: Automatica; }
>
> I'm presuming that the font would need to be uploaded to the web  
> server
> (or possibly linked to where the font originates).  How do I tell the
> stylesheet to use this font (or perhaps to use this font library), in
> addition to the standard fonts built into the OS?
>
> Next question: what would be the CSS syntax for specifying both  
> primary
> and alternate fonts for when the primary is not available?
>
> Related question:  I want to do this to avoid having to create
> additional images and CSS markup.  Is this even a wise and accepted
> practice?


If the user's computer doesn't have that font, they will see whatever  
default font their browser has set.
To specify alternate fonts:


> .automatica { font-family: Automatica, helvetica, sans-serif; }
>

which will choose Automatica first, helvetica second and the  
browser's default sans-serif font third

If you are specifying a font with a space in it, use quotes

The only problem is that if Automatica and helvetica have very  
different size characteristics, the results can be unpredictable.
I wouldn't do this, but you can try it out and see for yourself -  
just make sure you test on a computer that doesn't have Automatica  
installed.

Check out this link too:
http://www.mikeindustries.com/sifr/

-Christy


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to