View Single Post
  #1 (permalink)  
Old 12-31-2005, 05:28 AM
jdyndale jdyndale is offline
WebProWorld Member
 

Join Date: Jul 2003
Location: Oslo, Norway
Posts: 47
jdyndale RepRank 0
Default problem with font and font sizes...

Hi,

I made a web site for some friends, and we wanted to use a font called Vixar. So I used Vixar as the main font, and courier new as the first generic alternative. However, Vixar has smaller character sizes than courier by default, so to get a readable font size I had to use a size of 20px - which of course looks bad when viewed in Firefox or Opera, as they don't support the @font-family CSS rule which loads an Open Type version of Vixar.

So, my question is this: Is it possible to, via CSS, apply one font/font-size to some text if the font is supported and another font/font-size to the same text if it is not?

Thanks...
__________________
Regards,
Joachim Dyndale

Webdesign | Web Design
Reply With Quote