Hello everyone.
I’m trying to style a web page to use Comic Sans. This has worked in the past as I have the font installed on my system (Fedora 38), and I know that Firefox can see it because it can be selected as an option for the default font:

However when I try to use it in CSS, it is not recognized:

I checked and other fonts are not affected:

I can’t use the Impact font either. Both work under Chrome.
Does anyone have a clue about what could be going on?
Thanks

  • @fhqwgads
    link
    fedilink
    405 months ago

    You need quotes around the font name. Courier works because it’s one word.

    • grandel
      link
      fedilink
      1
      edit-2
      3 months ago

      This is the right answer!

      I keep reading that people hate CSS, but it’s my favorite markup language.

      People are probably just frustrated with it because they didn’t learn it properly. But that applies to any other language too.

      CSS is fucking awesome!