Is there a way to incorporate multiple fonts in a CSS file? I attempted the following method, but it's not producing the desired outcome.
@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');
}
To apply the font, I am setting the font-family property within the CSS IDs as shown below:
#titleSection {
margin: 25px 5px auto auto;
font-size: 11px;
text-align:left;
font-family: 'Inspira_Reg';
color: black;
}
Despite following this method, the font doesn't seem to be recognized and defaults to Arial. I am using Google Chrome's latest version and the font types are TTF files.
Thank you, Dan.