The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript @font-face problem Re: @font-face problem


Ok i’ll try to make it as easy as possible (my english is not brilliant as it should).

On your styleseet you are importing 4 different fonts right now

what you are trying to do is import 4 variants of the same font, to do this you have to change the values of the font-weight and font-size on your @font-face

Here an example

@font-face {
font-family: 'FlorinSans';
/** cutted out the urls to shorten **/
font-weight: normal;
font-style: normal;

@font-face {
font-family: 'FlorinSans'; /** Note that i'm using the same name for the bold **/
/** cutted out the urls to shorten **/
font-weight: bold; /** change this to the corrispective font weight **/
font-style: normal; /** change this to the current font style **/

Hope it helps