How can I add more that one font in a CSS file? I have tried the following but it doesn't seem to work.
@font-face {
font-family: 'Inspira_Reg';
src: url('http://myfonturl.com');
}
@font-face {
font-family: 'Inspira_Bold';
src: url('http://myfonturl.com');
}
@font-face {
font-family: 'Inspira_Italic';
src: url('http://myfonturl.com');
}
@font-face {
font-family: 'Inspira_Medium';
src: url('http://myfonturl.com');
}
And then to use the font, I simply set the font-family property in the CSS IDs like so:
#titleSection {
margin: 25px 5px auto auto;
font-size: 11px;
text-align:left;
font-family: 'Inspira_Reg';
color: black;
}
But it doesn't seem to work. The font doesn't seem to get recognized, it just seems to use Arial or whatever the default is.
I am using the latest version of Google Chrome and the font types I am using are TTF files.
Thanks, Dan.