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 8621925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:55:48+00:00 2026-06-12T06:55:48+00:00

I recently started learning HTML/CSS and am starting to get really frustrated with font

  • 0

I recently started learning HTML/CSS and am starting to get really frustrated with font and cross-browser compatibility. I am using a custom font (Klavika) with my personal site and have uploaded it to the server, but I can’t figure out how to make it compatible across browsers. The site is here: http://www.tommaxwell.me and as you may be able to see, the font it’s displaying is really ugly. Can someone look at my code and put me in the right direction?

CSS:

body {
background-image: url(209241_2453996366505_1946848896_o.jpg);
background-size:cover;
}

@font-face {
font-family: klavika-medium;
src: url(Klavika-Medium.otf);
}


h1 {
text-align: center;
margin-top: 10%;
font-family: klavika-medium;
color:#FFFFFF;
font-size: 6.250em;
}


p {
position: relative;
top:-8%;
text-align: center;
font-family: klavika-regular;
color:#FFFFFF;
font-size: 1.875em;

}

ul {
position: relative;
text-align: center;
list-style-type: none;
margin-top: 5%;
left:36.5%;
font-family: klavika-medium;
}


ul li {
font-size: 40px;
}


ul li a {
text-decoration: none;
color: #FFFFFF;
opacity: 0.8;
float:left;
padding-right:3%;

}


ul li a:hover {
opacity: 1.0;
}
  • 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-12T06:55:49+00:00Added an answer on June 12, 2026 at 6:55 am

    You need different formats of your font for different browsers. You can try http://www.fontsquirrel.com/fontface/generator

    In that site they will convert the font in all the proper formats for you. They will also give you a stylesheet sample so you can copy the css already prepared for use cross browser. The other added bonus is that like images and audio fonts can be compressed. Their tool can also do this to give you a smaller font.

    By the way, when declaring the font face you can also declare the font weight associated with that weight. font-weight:100 could be your regular font, and font-weight:600 could be your medium font. This makes it easier to use the font as you will only have to memorize one name, and simply apply the proper weight, whereever you use your font.

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

Sidebar

Related Questions

I've just recently started learning HTML/CSS and I've been trying to teach myself sound
I've recently started learning html, css and Javascript and I'm understanding more and more
I started learning html recently, and one thing that really confused me is why
I recently started learning RoR. My problem is I get an unintended output when
I recently started learning Python (my first programming language since using GW BASIC as
I recently started learning open source technologies and very soon got frustrated as there
I've recently started learning/using django; I'm trying to figure out a way to have
I recently started learning objective-C and cocoa. I'm slowly starting to learn about memory
I've recently started learning XS using perlxstut and the tutorial suggests that I create
I recently started learning Objective-C, and I am working on an iOS app as

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.