Usage of @font-face

This forum is for all Flare issues related to styles, stylesheets and XML.

Usage of @font-face

Postby Matze on Wed Mar 18, 2020 11:41 pm

Hi all,
my CSS starts like this:

Code: Select all
   font-family: Font 1', 'Font 2', 'Font 4';
   src: url(http://www.Our Server/Our Font.eot);
   font-weight: normal;
   font-style: normal;

Are "font-weight" and "font-style" the only font-face attributes? What is with others like paddings, text decorations, etc. is this forbidden?
Because I want to strike out these stuff in my other css styles.

If this does not work, I think, it is possible defining all gernal CSS attributes in an external linkes CSS like this? ... s-possible
Propeller Head
Posts: 94
Joined: Mon Jun 20, 2016 10:35 pm

Re: Usage of @font-face

Postby Dave Lee on Thu Mar 19, 2020 1:46 am

Font-family should only have one font name.

There's plenty of good information online about @font-face: ... e_rule.asp
Dave Lee
Master Propellus Maximus
Posts: 5908
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 8 guests