Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8310211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:22:46+00:00 2026-06-08T19:22:46+00:00

I developed the web-page under Windows. It has such folders: wwwroot wwwroot/css wwwroot/fonts and

  • 0

I developed the web-page under Windows. It has such folders:

wwwroot
wwwroot/css
wwwroot/fonts

and files

wwwroot/css/main.css
wwwroot/fonts/fontaaa.otf

main.css file has such a code:

@font-face
{
    font-family : 'fontaaa';
    src         : url("../fonts/fontaaa.otf");
}

and it sees the font under Windows on my localhost.
Everything is perfect, so I uploaded my project to the linux server.
Everything works fine (the page loads, styles are OK), but the font fontaaa.otf is not displayed. What is the problem? Spent a lot of time to figure out.

P.S. I’ve never used @font-face before.

P.S.S. the font was downloaded from Internet (was not in the Windows fonts folder).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:22:47+00:00Added an answer on June 8, 2026 at 7:22 pm

    Font face is declared like this :

    @font-face {
      font-family: 'Font name';
      font-style: normal;
      font-weight: 400;
      src: local('Font name'), local('Font name-Regular'), url(fontname.woff) format('woff');
    }
    

    And to apply these fonts you’ve to do like this :

    <style>
    h1 {
    font-family: 'Font Name', Arial/* Just in case if your web fonts didn't load */;
    }
    </style>
    
    <h1>this will be font-face fonts</h1>
    

    For more web fonts

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developed a web page and now i am validating it with w3c HTML4.0
Hi We developed web service using WCF service and hosted on Windows 2003 server
I have a page that uses routing and it works fine under Visual web
I have developed a web application (ASP.NET Web Forms). One of my customer has
I developed a web page for PC and I wanted it to be compatible
I have a ASP.NET web page developed in VS 2008 with the below Page
I have found one idea here , putting files under /WEB-INF is a way
I have an aspx page in C# under .net 4.0 developed in VS2010 on
My web page must be strictly developed using XHTML 5 standard. How can I
I am designing a web page (in Visual Web Developer) that displays a report

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.