CSS @font-face arbeitet nicht mit Gotham-SchriftartHTML

HTML-Programmierer
Anonymous
 CSS @font-face arbeitet nicht mit Gotham-Schriftart

Post by Anonymous »

Ich möchte Gotham-Schriftart für meine Website verwenden, die keine Web-Safe-Schriftart ist, also habe ich die Schrift im Verzeichnis mit dem Namen 'Gotham': < /p>


Index.html < /p>

< /P> < /P> < />
gotham /gotham-light.otf < /p>
< /blockquote>

Hier ist, wie meine CSS-Datei in dem Teil aussieht, der die Schriftart festlegt: < /p>

p.gotham-thin{font-family:"Gotham-Light";}

@font-face {
font-family: Gotham-Light;
src: url('Gotham/Gotham-Light.otf') format('opentype');
}
< /code>

Hier ist, was Index.html tut: < /p>


ABOUT DIALOGIC
< /code>

Aber die Gotham -Schriftart funktioniert nur auf meinem Computer in Google Chrome, da ich die Schriftart lokal installiert habe. Wenn ich jedoch eine VM ausführe, bei der die Schrift nicht installiert ist, wird es nur Tahoma -Schriftart verwendet.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • CSS @font-face arbeitet nicht mit Gotham-Schriftart
    by Anonymous » » in CSS
    0 Replies
    1 Views
    Last post by Anonymous
  • @font-face nicht erfasster Syntaxfehler in Chrome
    by Guest » » in HTML
    0 Replies
    20 Views
    Last post by Guest
  • @font-face nicht erfasster Syntaxfehler in Chrome
    by Guest » » in CSS
    0 Replies
    19 Views
    Last post by Guest
  • Chrom auf Android Größen Sie die Schriftart der Schriftart
    by Anonymous » » in Android
    0 Replies
    18 Views
    Last post by Anonymous
  • Chrom auf Android Größen Sie die Schriftart der Schriftart
    by Anonymous » » in HTML
    0 Replies
    16 Views
    Last post by Anonymous