HighDots Forums  

Re: font family alternative question

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: font family alternative question in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christoph Paeper
 
Posts: n/a

Default Re: font family alternative question - 07-16-2003 , 04:11 PM






*Ray* <loushi (AT) mail (DOT) com>:
Quote:
if the browser found "Arial black"
font-weight: normal;
font-family: Arial Black;
else
font-weight: bold;
font-family: Arial;
@font-face {font-family: MyArial; font-weight: bold; src: local("Arial")}
@font-face {font-family: MyArial; font-weight: normal; src: local("Arial
Black")}
h1 {font-family: MyArial, sans-serif; font-weight: bold;}

/should/ work IIRC, but doesn't in any browser I'm aware of, except that
'h1' uses a bold sans-serif font.

--
Smith & Wesson: The original point-and-click interface.


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: font family alternative question - 07-17-2003 , 10:25 AM






Christoph Paeper <crissov (AT) gmx (DOT) net> wrote

Quote:
*Ray* <loushi (AT) mail (DOT) com>:

if the browser found "Arial black"
font-weight: normal;
font-family: Arial Black;
else
font-weight: bold;
font-family: Arial;

@font-face {font-family: MyArial; font-weight: bold; src: local("Arial")}
@font-face {font-family: MyArial; font-weight: normal; src: local("Arial
Black")}
h1 {font-family: MyArial, sans-serif; font-weight: bold;}

/should/ work IIRC, but doesn't in any browser I'm aware of, except that
'h1' uses a bold sans-serif font.
You are right, it does not work in my Win/IE6/Mozilla7/Oprea7. I even
tried
@font-face {font-family: MyArial; font-weight: bold; src:
url("Arial")}
and copy the arial font to the same directory of the test html file.
It doesn't work.
But it is a good point for future reference, thank you.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.